blob: c4f74223bfa8c02eb0862b8d8e87340783e81f76 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/ash -e
# If running the rails server then create or migrate existing database
if [ "${1}" == "./bin/rails" ] && [ "${2}" == "server" ]; then
./bin/rails db:prepare
./bin.rails db:seed
fi
exec "${@}"
|