Fixing admin user creation in docker
Added db:seed in order to have the deleted user, and be able to have an admin user.
This commit is contained in:
parent
8442eb813f
commit
cf3aeda1d2
1 changed files with 3 additions and 0 deletions
|
|
@ -42,6 +42,9 @@ fi
|
||||||
echo ">>> Upgrading database..."
|
echo ">>> Upgrading database..."
|
||||||
bundle exec rake db:migrate
|
bundle exec rake db:migrate
|
||||||
|
|
||||||
|
echo ">>> Seed database..."
|
||||||
|
bundle exec rake db:seed
|
||||||
|
|
||||||
rm .my.cnf
|
rm .my.cnf
|
||||||
|
|
||||||
echo ">>> Precompiling assets..."
|
echo ">>> Precompiling assets..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue