Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.22 KB

heroku.md

File metadata and controls

22 lines (18 loc) · 1.22 KB

Heroku

One-click Heroku deployment is available:

Deploy

Steps for Manual Deployment

  • We need to install heroku on our local 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:set heroku/nodejs
  • Then we will deploy the code to heroku.
    • git push heroku development or
    • git push heroku yourbranch:development if you are in a different branch than development