super-graph/demo
2019-05-12 19:27:26 -04:00

9 lines
235 B
Bash
Executable File

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