heroku-toolbelt

git push heroku master getting following error

巧了我就是萌 提交于 2019-12-13 06:52:45
问题 I'm attempting to deploy my code to heroku with the following command line: $ git push heroku master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 回答1: You need to add your key. heroku keys:add ~/.ssh/id_rsa.pub see this: https://devcenter.heroku.com/articles/keys 来源: https://stackoverflow.com/questions/17006629/git-push-heroku-master-getting-following-error

Heroku Django foreman start error exited with code 1 mac

一笑奈何 提交于 2019-12-13 04:25:00
问题 foreman start 01:25:49 web.1 | started with pid 3584 01:25:55 web.1 | exited with code 1 01:25:55 system | sending SIGTERM to all processes SIGTERM received Procfile web: gunicorn herokudjango.wsgi requirements.txt Django==1.6.5 dj-database-url==0.3.0 dj-static==0.0.5 django-toolbelt==0.0.1 gunicorn==19.0.0 psycopg2==2.5.3 pystache==0.5.4 static==1.0.2 wsgiref==0.1.2 Hi, I simply follow https://devcenter.heroku.com/articles/getting-started-with-django It works fine after git push to heroku.

heroku push rejected failed to compile node.js app

廉价感情. 提交于 2019-12-13 02:22:21
问题 I get the following error message on pushing to heroku: Counting objects: 21, done. Delta compression using up to 4 threads. Compressing objects: 100% (19/19), done. Writing objects: 100% (21/21), 3.44 KiB, done. Total 21 (delta 5), reused 0 (delta 0) -----> Node.js app detected -----> Resolving engine versions WARNING: No version of Node.js specified in package.json, see: https://devcenter.heroku.com/articles/nodejs-versions Using Node.js version: 0.10.5 Using npm version: 1.2.18 ----->

heroku client stopped working

只愿长相守 提交于 2019-12-12 10:58:25
问题 It was working just fine this morning but suddenly it giving me such error. I tried to uninstall and install it but no luck. Would appreciate if anyone can help me in it. c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- multi_json (LoadError) from c:/Program Files (x86)/Heroku/ruby-1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from C:/Users/Somenath/.heroku/client/lib/heroku

Heroku local [WARN] No ENV file found when using Config library to manage environments

青春壹個敷衍的年華 提交于 2019-12-11 18:29:08
问题 I'm using Config library to mange my environments, so i do not have .env file, how to make heroku ignore this fact ?. It work fine when i deploy to Heroku, but fails locally. I tried: heroku local web which fires npm run build && node dist/Server // [WARN] No ENV file found 回答1: The only way to make Heroku remove this warning is to create a .env file. This warning shouldn't be problematic in itself though, as it shouldn't prevent your app from running. 来源: https://stackoverflow.com/questions

How to deploy a website on Heroku?

孤街醉人 提交于 2019-12-11 03:26:54
问题 I haven't got what to enter in fields Username for and Password fo r after the command git push heroku master : C:\code2015>git push heroku master Username for 'https://git.heroku.com': nemo Password for 'https://nemo@git.heroku.com': remote: ! WARNING: remote: ! Do not authenticate with username and password using git. remote: ! Run `heroku login` to update your credentials, then retry the git command. remote: ! See documentation for details: https://devcenter.heroku.com/articles/http-git

Deploy WebSharper.Suave web application to Heroku

岁酱吖の 提交于 2019-12-10 21:09:42
问题 I can not understand what I need to change to make it. I created a demo project from this blogpost with app.json and Procfile: web: fsharpi-heroku WebsahrperSuaveHerokuExample1.sln Next, I tried to deploy it to Heroku in accordance with these recommendations: heroku create websahrper-with-suave-example --buildpack https://github.com/SuaveIO/mono-script-buildpack.git heroku git:remote -a websahrper-with-suave-example git push heroku master There was an error in Heroku when building the project

How to run a npm script on a deployed Heroku NodeJS app

谁说胖子不能爱 提交于 2019-12-10 13:22:31
问题 Under scripts in package.json I have the following. 'refresh': node refresh db Is there a way to trigger this particular npm script on a NodeJS app deployed on Heroku. 回答1: Yes: $ heroku run npm run refresh 回答2: Per the Heroku Node.js Documentation, you can add pre and post install scripts. In addition, you can add scripts that can be triggered by environment variables. 来源: https://stackoverflow.com/questions/38571318/how-to-run-a-npm-script-on-a-deployed-heroku-nodejs-app

Heroku CLI Segmentation Fault

岁酱吖の 提交于 2019-12-09 19:00:52
问题 Whenever I run a heroku command (heroku restart, heroku apps, etc., even just heroku) I get the following message: /Users/jjjj/.rvm/gems/ruby-2.0.0-p247/gems/multi_json-1.9.0/lib/multi_json/adapters/oj.rb:20: [BUG] Segmentation fault ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0] Any ideas on how to solve this? I've tried uninstalling and reinstalling multi_json. I am hesitant to rm -rf the heroku directories and reinstall. 回答1: I was able to get around this by running

Authentication failure in Heroku CLI after password change

随声附和 提交于 2019-12-08 22:58:29
问题 After a password change on heroku's website, I can't access the heroku api. When I do heroku login , I get Authentication successful , even though it shouldn't because the password has changed. It doesn't even ask for my email or password, like it should! If I try heroku apps (or any other application related command), I get Authentication failure . If I try heroku status , it works. I don't have any plugins installed. Logs: $ heroku version heroku-gem/3.6.0 (i686-linux) ruby/2.1.0 $ heroku