Fix demo to run as memory only

This commit is contained in:
Vikram Rangnekar
2019-04-17 23:35:08 -04:00
parent 6b164aed08
commit de52ce4738
8 changed files with 115 additions and 43 deletions

2
demo
View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ "$1" == "setup" ]; then
docker-compose -f rails-app/demo.yml run web rake db:drop db:create db:migrate db:seed
docker-compose -f rails-app/demo.yml run web rake db:create db:migrate db:seed
elif [ "$1" == "run" ]; then
docker-compose -f rails-app/demo.yml up
else