Open “cmd” or “Terminal”
Login heroku using your heroku user
$ heroku login
Enter your Heroku credentials.
Email: adam@example.com
Password (typing will be hidden):
Authentication successful.
Go to you project directory and create app on heroku
Application Name:
Development: project-name-dev
UAT: project-name-uat
$ heroku create application-name
Creating app... done, ⬢ sleepy-meadow-81798
https://sleepy-meadow-81798.herokuapp.com/ | https://git.heroku.com/sleepy-meadow-81798.git
$ heroku git:remote -a falling-wind-1624
Git remote heroku added.
$ grunt build --force
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
Branches pushed to Heroku other than master will be ignored by this command. If you’re working out of another branch locally, you can either merge to master before pushing, or specify that you want to push your local branch to a remote master. To push a branch other than master, use this syntax:
$ git push heroku yourbranch:master