Skip to content

Instantly share code, notes, and snippets.

@marckohlbrugge
Created October 31, 2022 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marckohlbrugge/740031ac4f64356ae8451adf18560ab7 to your computer and use it in GitHub Desktop.
Save marckohlbrugge/740031ac4f64356ae8451adf18560ab7 to your computer and use it in GitHub Desktop.
BetaList's bash scripts for building/starting Render servers
#!/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
#!/usr/bin/env bash
# exit on error
set -o errexit
bundle exec puma -C config/puma.rb
#!/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