Created
August 9, 2023 03:34
-
-
Save danielwestendorf/584f3d7b8883d3da922ec00ff6ee9239 to your computer and use it in GitHub Desktop.
bin slash start for a rails application which uses docker and overmind
This file contains hidden or 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
#!/bin/bash | |
rm log/development.log | |
rm log/test.log | |
yarn | |
bundle check || bundle install | |
docker compose up -d | |
if [ -f personal.Procfile ]; then | |
overmind start -f personal.Procfile -t 10 | |
else | |
overmind start -f Procfile-dev -t 10 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment