Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.43 KB

heroku.md

File metadata and controls

30 lines (24 loc) · 1.43 KB

Heroku

One-click Heroku deployment is available:

Deploy

Steps for Manual Deployment

  • We need to install heroku on our machine. Type the following in your linux terminal:
    • wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh This installs the Heroku Toolbelt on your machine to access heroku from the command line. For windows user, install from here
  • Next we need to login to our heroku server (assuming that you have already created an account). Type the following in the terminal:
    • heroku login(for windows user on cygwin or git bash: winpty heroku login)
    • Enter your credentials and login.
  • Once logged in we need to create a space on the heroku server for our application. This is done with the following command
    • heroku create
  • Add nodejs build pack to the app
    • heroku buildpacks:add --index 1 heroku/nodejs
  • Add python build pack to the app
    • heroku buildpacks:add --index 2 heroku/python
  • Check nodejs and python build pack in the app
    • heroku buildpacks It should return
  1. heroku/nodejs
  2. heroku/python
  • Then we deploy the code to heroku.
    • git push heroku master or
    • git push heroku yourbranch:master if you are in a different branch than master