super-graph/demo

9 lines
235 B
Plaintext
Raw Normal View History

2019-04-11 07:10:51 +02:00
#!/bin/bash
if [ "$1" == "setup" ]; then
2019-05-13 01:27:26 +02:00
docker-compose -f rails-app/demo.yml run rails_app rake db:create db:migrate db:seed
2019-04-11 07:10:51 +02:00
elif [ "$1" == "run" ]; then
docker-compose -f rails-app/demo.yml up
else
echo "./demo [setup|run]"
fi