heroku-toolbelt

Could not generate ssh public key for heroku in Windows 7

三世轮回 提交于 2019-12-03 09:25:00
While I am trying heroku login through cmd in my machine, it says Could not find existing public key Would you like to generate one? [YN] After that when I press 'y' and enter it says Generating new ssh public key Could not generate key: "ssh-keygen" is not recognized as a internal or external command operable program or batch file Please help me. stys Heroku toolbelt includes git distribution which includes the required ssh-keygen.exe . I've just found it in C:\Program Files\git\bin . Locate your git folder and add it to your system path as described here: superuser.com/questions/284342/ I

Installing Heroku Toolbelt on Windows 10

冷暖自知 提交于 2019-12-03 05:40:24
I've been having some issues installing the Heroku toolbelt on Windows 10, 64-bit. It's the first time I install Heroku. I downloaded it from https://toolbelt.heroku.com/windows . After installing, I tried launching a new Git Bash and typing heroku login but what I got back was bash: heroku: command not found Running the same command on Windows Powershell, what I got back was 'MYSQL' is not recognized as an internal or external command, operable program or batch file. 'MYSQL' is not recognized as an internal or external command, operable program or batch file. Any suggestions? I thought that

How to avoid the --app option with heroku CLI?

流过昼夜 提交于 2019-12-02 10:17:13
I'm tired of entering the name of my app each time I run a heroku command in the terminal: heroku run rake db:migrate --app myapp heroku run rake db:seed --app myapp heroku run rake sth:else --app myapp The --app is very redundant and annoying, I didn't figured out where were the option to configure it globally once for the project. heroku doesn't require the --app argument when it knows which app it should talk to. This occurs when there is exactly one Git remote pointing to Heroku for a repository. You don't appear to have any remotes pointing to Heroku. Run heroku git:remote --app myapp to

How to avoid the --app option with heroku CLI?

。_饼干妹妹 提交于 2019-12-02 10:06:19
问题 I'm tired of entering the name of my app each time I run a heroku command in the terminal: heroku run rake db:migrate --app myapp heroku run rake db:seed --app myapp heroku run rake sth:else --app myapp The --app is very redundant and annoying, I didn't figured out where were the option to configure it globally once for the project. 回答1: heroku doesn't require the --app argument when it knows which app it should talk to. This occurs when there is exactly one Git remote pointing to Heroku for

Heroku CLI unresponsive on Ubuntu 16.04

点点圈 提交于 2019-12-01 12:45:44
I'm trying to get heroku cli installed on Ubuntu 16.04, following the documentation here: Heroku CLI Documentation and while my system appears to install it correctly, whenever I try any Heroku commands like heroku login the terminal hangs, and becomes unresponsive. I'm not getting any error codes. Here's what I've tried: I've tried installing heroku via the following methods: wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh That didn't work, I uninstalled and tried this: sudo snap install heroku --classic That did't work, I uninstalled and tried this: wget https://cli-assets

Heroku CLI Unresponsive

自古美人都是妖i 提交于 2019-12-01 10:23:37
问题 I have been using the Heroku CLI for some time now without incident. Shortly after deploying a batch of new code today, it became totally unresponsive. When entering a command (e.g. heroku status) it just hangs forever. Doesn't matter what command I enter, it hangs. I've restarted my terminal and also tried killing the Heroku CLI process a few times, but the problem persists. How can I debug the problem? Is it my installation or is it a Heroku problem? 回答1: it was this issue https://status

Heroku pg:pull failing to populate schema

浪尽此生 提交于 2019-11-30 08:47:31
问题 So I've read the documentation on pg:pull , but can't seem to get it to work. When I run the command with the correct parameters, my Heroku DB is fetched and a local database is created, but the schema is not filled in locally; e.g., no tables are created, no triggers are set up, no constraints, no data, etc. Here's the heroku pg:info log for my database: === HEROKU_POSTGRESQL_ORANGE_URL (DATABASE_URL) Plan: Hobby-dev Status: Available Connections: 1 PG Version: 9.3.3 Created: 2014-04-02 19

Authentication failure in Heroku CLI after password change

早过忘川 提交于 2019-11-30 02:08:47
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 logout Local credentials cleared. $ heroku login Authentication successful. $ heroku apps Authentication

“git push”: slug compilation hangs

非 Y 不嫁゛ 提交于 2019-11-29 18:45:32
问题 This issue started today for no apparent reason. When I do git push dev master for my Django project, I sometimes get a hang after the program says "installing dependencies with pip": Counting objects: 11, done. Delta compression using up to 2 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 643 bytes, done. Total 7 (delta 5), reused 0 (delta 0) -----> Python app detected -----> No runtime.txt provided; assuming python-2.7.4. -----> Using Python runtime (python-2.7

Can someone explain “heroku ps:scale web=1”

China☆狼群 提交于 2019-11-29 17:21:44
问题 I'm looking for a straightforward explanation of what all happens when I enter the following command: heroku ps:scale web=1 What is Heroku doing behind the scenes to deploy the app? I ask because I'm just now using Heroku to deploy and would like to better understand the process. Thanks! 回答1: This command does not deploy the app. It starts it, after you have deployed. When you deploy your application, heroku creates a "slug". A runnable zipped version of your app which is then stored. You can