Last active
August 29, 2015 14:23
-
-
Save jpotts18/12adf0ffd35234ba8081 to your computer and use it in GitHub Desktop.
Heroku Config
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
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