README.md
January 31, 2021 ยท View on GitHub
Deploy your Angular app to Heroku directly from the Angular CLI! ๐
Prerequisite
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.
Steps to get "Authorization Token"
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

Setting up this Builder
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.
That's it. Now, you are good to go
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.
Contributors โจ
Thanks goes to these wonderful people (emoji key):
Santosh Yadav ๐ป |
Vimal Patel ๐ |
This project follows the all-contributors specification. Contributions of any kind welcome!