- Upload files to you hosting or local http directory
- Import into MySQL database install.sql file
- Open config.php file and set up database connection constants
- Check .htaccess file. If you upload code to website home directory, replace this line:
RewriteBase /testask/knowledgecity-test/
toRewriteBase /
- Open page http://localhost/index.html. Login: root , password: password
- To create your own user, run this SQL-request:
INSERT INTO users SET login='your_login', password=sha1('your_passwordsalty-random-string');
salty-random-string - is a hash salt, whitch was defined into config.php