- Fork the repository.
- Clone the Forked repo
- copy the repo link
- open git bash or command prompt and run the code
git clone <repo lin>
- Run XAMPP server
- Open localhost/phpmyadmin
- Click on Import
- Select import.sql from database folder
- go to db.php in includes folder and comment the remote database code and uncomment the local database code
- paste the whole code in htdocs of Xampp and run localhost/blogbook in new tab
NOTE: you can also use the remote sql database if you dont need the database for any manual checks or updates.You can then skip step 2-5.
- Or open the blogbook folder in vs code,
- install php live server exstension,
- right click on index file and select open server.
We have separated the database for production and the real website. This help the developrs to work freely and do changes to the database.
- username - admin pass- admin for role- admin
- username- subscriber pass- subscriber for role- subscriber