Created
December 11, 2016 05:53
-
-
Save spnkr/e4753d8d50adf6e3192bff770a21d3c6 to your computer and use it in GitHub Desktop.
set up jawsdb on a new heroku app (env vars from https://devcenter.heroku.com/articles/jawsdb#provisioning-the-add-on)
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 config -s | grep JAWSDB_URL >> .env` | |
z = `heroku config:get JAWSDB_URL` | |
y = z.gsub("mysql://","mysql2://") | |
`heroku config:set DATABASE_URL='#{y}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment