Last active
May 31, 2017 15:39
-
-
Save iagopiimenta/f984b9bc8e4be16e343cec5e73ce071e to your computer and use it in GitHub Desktop.
dokcer-compose: command: ./script/start bundle exec rails s -p 3000 -b 0.0.0.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# if ! [ -x "$(command -v bower)" ]; then | |
# npm install -g bower | |
# fi | |
mkdir -p tmp/pids | |
if ! [ -z "$REMOVE_FILE" ] | |
then | |
echo "Removing file: $REMOVE_FILE" | |
rm -f $REMOVE_FILE | |
fi | |
bundle check || bundle install | |
bundle exec rake db:migrate | |
bundle exec $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment