简体   繁体   中英

Create and deploy app on Heroku from Nodejs app

I have a Node web app that can take commands from users. One command allows the user to do the following:

  1. Create Heroku app
  2. Deploy the app using the code from GitHub

Manually, I can deploy the app using command like "heroku create" and "git push heroku master". I would like to do these steps automatically from a Node app.

You should use Node's Heroku client library:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM