mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
13 lines
189 B
Bash
Executable File
13 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -f tmp/pids/server.pid ]; then
|
|
rm tmp/pids/server.pid
|
|
fi
|
|
|
|
bundle exec rails db:create
|
|
bundle exec rails db:migrate
|
|
bundle exec rails db:seed
|
|
|
|
exec bundle exec "$@"
|