Skip to content

Instantly share code, notes, and snippets.

@jpotts18
Last active August 29, 2015 14:23
Show Gist options
  • Save jpotts18/12adf0ffd35234ba8081 to your computer and use it in GitHub Desktop.
Save jpotts18/12adf0ffd35234ba8081 to your computer and use it in GitHub Desktop.
Heroku Config
heroku apps:create dev-limesmart
heroku addons:create cleardb
heroku addons:create flying-sphinx
heroku addons:destroy heroku-postgresql
# Adding buildpack
heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git
echo "https://github.com/shunjikonishi/heroku-buildpack-ffmpeg" >> .buildpacks
echo "https://github.com/heroku/heroku-buildpack-ruby.git" >> .buildpacks
# Changing Database URL
# x = heroku config:get CLEARDB_DATABASE_URL
# x.replace('mysql','mysql2')
# heroku config:set DATABASE_URL x
# Create Procfile
echo "exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}" > Procfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment