Skip to content

Commit

Permalink
Add installation steps of heroku on windows. (#481)
Browse files Browse the repository at this point in the history
For windows, on git bash, heroku login don't work, hence use winpty heroku login. Refer heroku/cli#84. Similar PR raised in badgeyay fossasia/badgeyay#531 .
  • Loading branch information
rupav authored and ParthS007 committed Jan 28, 2018
1 parent 4cdffca commit 659dee4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/installation/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ One-click Heroku deployment is available:

* 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.
This installs the Heroku Toolbelt on your machine to access heroku from the command line. For windows user, install from [here](https://devcenter.heroku.com/articles/heroku-cli#windows)
* 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```
* ```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```
Expand All @@ -27,4 +27,4 @@ One-click Heroku deployment is available:
* 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
* ```git push heroku yourbranch:master``` if you are in a different branch than master

0 comments on commit 659dee4

Please sign in to comment.