Use Heroku on C9
Cloud9 only provides Heroku integration for deployment (and even that's broken at the moment). If you want to work with Heroku, you can't just use heroku
out of the box for a new project: it's not in the environment.
However, it turns out Cloud9 has its own package manager, c9pm
, that can install the Heroku toolbelt for you:
c9pm install heroku
After running that, you can use heroku
the same as you would on your own dev machine to create apps, set runtime environment variables for your configuration, add addons, and whatever else you need it for.
Written by Stuart P. Bentley
Related protips
3 Responses
Awesome! 10x
over 1 year ago
·
C9 is very slow :(
over 1 year ago
·
Modern Cloud9 workspaces do include heroku
in the default configuration again, so this protip is no longer relevant.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#