docbrown/bin/docker-setup
briwa 604e76dd88
refactor(docker-setup): use bash instead of ruby (#6935)
* refactor(docker-setup): use bash instead of ruby

* refactor: use a proper header

* refactor: bash -> sh
2020-03-30 10:13:52 +02:00

10 lines
240 B
Bash
Executable file

#!/usr/bin/env sh
echo "== Building Docker image (this may take a while) =="
docker-compose build
echo "== Setting up database =="
docker-compose run web rails db:setup db:migrate search:setup
echo "== Starting app =="
docker-compose up