简体   繁体   中英

Deploying Aurelia.js + io.js/node.js app to heroku Github rate limit problems

When deploying a node.js app to heroku, the following error pops up:

GitHub rate limit reached. To increase the limit use GitHub authentication. remote: Run jspm registry config github to set this up.

How can I login to github via heroku?

  1. Create github access token
    • Go to Github.com, login, settings, personal access tokens
  2. Create a personal access token and copy it (we will use it later)

  1. $ heroku buildpacks:set https://github.com/ddollar/heroku-buildpack-multi.git
  2. Create a .buildpacks file in project root -> where package.json is
  3. Add the following buildpacks to it and save and commit
  4. $ heroku config:set GITHUB_AUTH_TOKEN=<Personal Auth Token>
  5. git push heorku deploy:master or git push heorku master

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