-
Create a MySQL database
-
Import in your new database the Database/shareboard.sql file
-
If you get trouble importing the database change line 36 with:
`create_date` TIMESTAMP NOT NULL DEFAULT NOW()
-
And line 61 with:
`register_date` TIMESTAMP NOT NULL DEFAULT NOW()
ERROR: Error 1067: Invalid default value for ON UPDATE CURRENT_TIMESTAMP
-
-
Add a config.php file in the root folder with:
<?php
// Define DB Params
define("DB_HOST", "localhost");
define("DB_USER", "root");
define("DB_PASS", "");
define("DB_NAME", "my-database-name");
// Define URL
define("ROOT_PATH", "/my-app-folder/");
define("ROOT_URL", "http://localhost/my-app-folder/");
Enjoy!