-
-
Save marckohlbrugge/740031ac4f64356ae8451adf18560ab7 to your computer and use it in GitHub Desktop.
BetaList's bash scripts for building/starting Render servers
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 | |
# exit on error | |
set -o errexit | |
bundle install | |
bundle exec rake assets:precompile | |
bundle exec rake assets:clean | |
if [ -n "$DB_MIGRATE" ] | |
then | |
bundle exec rake db:migrate | |
fi |
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 | |
# exit on error | |
set -o errexit | |
bundle exec puma -C config/puma.rb |
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 | |
# exit on error | |
set -o errexit | |
bundle exec sidekiq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment