mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 10:14:59 +00:00
Add instruction for adding the admin user
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user