Skip to content

Arshia-Moharrary/aceBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use?

1 - Clone project to your local computer

git clone https://github.com/Arshia-Moharrary/aceBlog.git

2 - Install php and a database (for example mysql)

sudo apt install php
sudo apt install mysql

3 - Config database connection

Open aceBlog > includes > dbinfo.php and edit these variables

// Database info
$rdbms = "mysql"; // Your rdbms like: mysql, microsoft sql, sql server and ...
$host = "localhost"; // Your host ip (localhost for your local computer)
$database = "aceBlog"; // Your database name
$serverUsername = "root"; // Put your database username
$serverPassword = ""; // Put your database password

4 - Run a virtual server (You can change port)

Open aceBlog directory and run this command

php -S localhost:9000

5 - Config database (create db and tables)

Open this address in the browser:
http://localhost:9000/dbc.php and click on config button

6 - Create first admin account

Open this address in the browser and create a admin account:
http://localhost:9000/admin.php

7 - Delete some file for security reason

Delete dbc.php and admin.php files so that normal users cannot access them

8 - Create a directory for uploaded files

cd aceBlog
mkdir uploads

Contact

arshia.moharrary@gmail.com