How to install Heroku on an AWS Cloud 9 environment

With the cloud, individuals and small businesses can snap their fingers and instantly set up enterprise-class services — Roy Stephan

  1. Update npm
$ nvm i v8         # Any version > 8 will do e.g. nvm i v9 

2. Install heroku cli

$ npm install -g heroku

3. Done!

  • You can now clone your projects from github, gitlab etc. and deploy them to heroku from anywhere!!
# Example: deploy a dockerised django application$ git clone https://gitlab.com/Banzyme2/frag-weather.git
$ heroku login
$ heroku container:login
$ heroku container:push <django-container-name>
$ heroku container:release <django-container-name>

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store