Add instruction for adding the admin user

This commit is contained in:
Leena
2016-10-10 22:39:24 +05:30
committed by GitHub
parent d4abf39ef1
commit 802134596f

View File

@@ -62,6 +62,15 @@ rake db:create
rake db:migrate rake db:migrate
``` ```
Add admin user:
``` bash
rake db:seed
```
This will add the user with the username _admin@example.com_ and the password _password_.
If you prefer to change these, change the same in the file _db/seeds.rb_ before running `rake db:seed` command.
Run the server: Run the server:
``` bash ``` bash