Added hint on how to add admins
This commit is contained in:
parent
6416aa191f
commit
0fee19f76d
1 changed files with 6 additions and 0 deletions
|
|
@ -120,3 +120,9 @@ or production you need to…
|
||||||
- RAILS_ENV=production rake assets:precompile
|
- RAILS_ENV=production rake assets:precompile
|
||||||
- run the production web server
|
- run the production web server
|
||||||
- RAILS_ENV=production rails s
|
- RAILS_ENV=production rails s
|
||||||
|
|
||||||
|
To create admin users
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
rails c
|
||||||
|
> User.new(email: 'email@christoph-haas.de', password: 'secret').save
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue