1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

Include complete DB creation commands in the virtual machine instructions

This commit is contained in:
David O' Rojo 2018-02-26 12:26:11 -06:00
parent 770104748e
commit eb91d02ebe

View File

@ -349,10 +349,14 @@ environment.
cp config/application.yml.default config/application.yml
```
10. Set up the databases. (You should provide the desired admin credentials):
10. Set up the databases. (Note that you should provide the desired admin credentials and that these
specific set of commands must be used to set up the database as some raw SQL instructions are
included in the migrations):
```bash
ADMIN_EMAIL='youradminemail' ADMIN_PASSWORD='youradminpassword' rake db:setup
rake db:create
rake db:migrate
ADMIN_EMAIL='youradminemail' ADMIN_PASSWORD='youradminpassword' rake db:seed
rake fablab:es_build_stats
```