Skip to content

Commit 1bff52f

Browse files
committed
Merge pull request #6 from jpmckinney/master
Add how to create initial admin user to README.md
2 parents c73a179 + 5f770c6 commit 1bff52f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ You may find a line like this :
6262
require 'devise/orm/mongoid'
6363
```
6464

65+
Then create the admin user:
66+
67+
$ rails console
68+
>> AdminUser.create :email => '[email protected]', :password => 'password', :password_confirmation => 'password'
69+
6570
And that's pretty much it !
6671

6772
## Contributing

0 commit comments

Comments
 (0)