Skip to content

Instantly share code, notes, and snippets.

@spnkr
Created December 11, 2016 05:53
Show Gist options
  • Save spnkr/e4753d8d50adf6e3192bff770a21d3c6 to your computer and use it in GitHub Desktop.
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)
`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