Last Updated: February 25, 2016
·
3.116K
· stuartpb

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.

3 Responses
Add your response

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 ·