clarion/docker/app/run.sh
2020-11-05 21:13:09 +02:00

13 lines
238 B
Bash
Executable File

#!/bin/sh
# Install dependencies
bundle install
# DB migrations
./bin/rails db:create
./bin/rails db:migrate
./bin/rails db:seed
# Remove leftover PID file from non-clean exit
rm tmp/pids/server.pid
./bin/rails server --binding=0.0.0.0