Improve the demo experience

This commit is contained in:
Vikram Rangnekar
2019-04-11 01:10:51 -04:00
parent 512647156e
commit 40fb85c926
125 changed files with 50 additions and 60 deletions

9
demo Executable file
View File

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