Update README.rdoc
This commit is contained in:
parent
02b997b838
commit
9dc8645c32
|
@ -14,7 +14,8 @@ To use:
|
|||
* Copy config/database.yml.example to config/database.yml and edit appropriately
|
||||
* Copy config/initializers/secret_token.rb.example to config/config/initializers/secret_token.rb and edit appropriately
|
||||
* Run bundle install, rake db:migrate, etc.
|
||||
* Use the Rails console to create a new User and set user.admin = true
|
||||
** user = User.new
|
||||
** user.password = "foobar"
|
||||
** etc
|
||||
* Use the Rails console to create a new User with admin rights
|
||||
* user = User.new
|
||||
* user.password = "foobar"
|
||||
* user.admin = true
|
||||
* user.save
|
||||
|
|
Loading…
Reference in New Issue
Block a user