README.md

January 31, 2021 ยท View on GitHub

npm downloads npm (scoped) All Contributors

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.

alt text

  • 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

alt text

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!