Don't forget to import data.sql

This commit is contained in:
Azareal 2016-12-02 15:10:28 +00:00
parent 9bafab7a12
commit 7a49ff5194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ go install github.com/go-sql-driver/mysql
go install golang.org/x/crypto/bcrypt go install golang.org/x/crypto/bcrypt
Tweak the config.go file and put your database details in there. Tweak the config.go file and put your database details in there. Import data.sql into the same database. Comment out the first line (put /* and */ around it), if you've already made a database, and don't want the script to generate it for you.
Set the password column of your user account in the database to what you want your password to be. The system will encrypt your password when you login for the first time. Set the password column of your user account in the database to what you want your password to be. The system will encrypt your password when you login for the first time.