Skip to content

Instantly share code, notes, and snippets.

@danielwestendorf
Created August 9, 2023 03:34
Show Gist options
  • Save danielwestendorf/584f3d7b8883d3da922ec00ff6ee9239 to your computer and use it in GitHub Desktop.
Save danielwestendorf/584f3d7b8883d3da922ec00ff6ee9239 to your computer and use it in GitHub Desktop.
bin slash start for a rails application which uses docker and overmind
#!/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