- Log into mysql using
mysql -u root -p(Or a different username) - Create a new database:
CREATE DATABASE project source sql/structure.sql
cp api/dbconfig.sample.php api/dbconfig.phpnano api/dbconfig.php- Modify the
DB_PASSconstant and any other constants as needed - Save and exit
Please host on XAMPP. Follow any other configuration instructions for frontend setup.
The api/.htaccess file uses the Header command.
This requires the headers module to be enabled.
You may enable it using a2enmod headers.
Restart apache2 after this.