Don't forget to import data.sql
This commit is contained in:
parent
9bafab7a12
commit
7a49ff5194
|
@ -26,7 +26,7 @@ go install github.com/go-sql-driver/mysql
|
|||
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue