14 lines
202 B
Bash
Executable File
14 lines
202 B
Bash
Executable File
if [ -d '/usr/app' ]; then
|
|
cd /usr/app
|
|
bundle
|
|
|
|
service mysql start
|
|
rails db:setup
|
|
rails db:migrate
|
|
rails db:fixtures:load
|
|
|
|
rails s -b 0.0.0.0
|
|
else
|
|
echo "Are you in docker container?"
|
|
fi
|