You will need two things in order to get started
- Application Name : Project/Application name in which you want to deploy your a application build.
- Authorization token : This token is used for authentication in all Heroku API requests, and can be regenerated at will by the user in the heroku.com web interface.
1. Login into Heroku site.
2. Go to your account settings.
3. Click on "Applications" tab.
4. There is a section named as "Authorizations".
5. Create a Authorization token from here and provide that token key which installing this
ng add ngx-heroku-deploy
OR
ng add ngx-heroku-deploy --project={projectName}
The above command will configure everything, you just need to provide Authorization Toaken and Application Name when it will ask you for that.
Now, Whenever you want to deploy your angular project just run a command ng run [YOUR_PROJECT_NAME]:deploy
and your project will be deployed with new updates.
Thanks goes to these wonderful people (emoji key):
Santosh Yadav 💻 |
Vimal Patel 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!