Questions tagged [heroku-toolbelt]

Heroku command-line tooling for working with the Heroku platform, on MacOS, Windows and Debian/Ubuntu.

The Heroku Command Line Interface (CLI), formerly known as the Heroku Toolbelt, is a tool for creating and managing Heroku apps from the command line / shell of various operating systems.

520 questions
109
votes
7 answers

Heroku: Cannot run more than 1 Free size dynos

I was trying to run heroku run rake db:migrate And was getting the error Cannot run more than 1 Free size dynos. See below for how to fix...
Andrew
  • 2,829
  • 3
  • 22
  • 19
90
votes
21 answers

'git push heroku master' is still asking for authentication

I have executed: $ heroku login But when I try to push, I'm still asked for authentication: $ git push heroku master Username for 'https://git.heroku.com': Password for 'https://@git.heroku.com': Then I get a WARNING: Do not…
Rea G
  • 1,041
  • 1
  • 9
  • 11
86
votes
7 answers

Deploying to Heroku using git on bitbucket

I want to host my source on bitbucket using git because I obviously get a free private repo and I want to host my app on heroku using the source code from bitbucket. Can i do it using the github client and heroku toolbelt. Will it work? Github is…
Wasswa Samuel
  • 2,139
  • 3
  • 30
  • 54
76
votes
8 answers

Setting the port for node.js server on Heroku

I launched a node.js server with the following line to set the port: app.set('port', process.env.PORT || 8080); This means that, it should either read the PORT env variable or default to 8080, as it does when it's run locally. Neither of them is…
Crocodile
  • 5,724
  • 11
  • 41
  • 67
59
votes
9 answers

What's the correct way to rename a heroku app?

Doesn't seem to be a way to do it from the command line, and when I do this from the site, I run into this issue when I try to git push heroku master: ! No such app as [previous app name]. Is this as simple as changing how I point to the app in…
fox
  • 15,428
  • 20
  • 55
  • 85
50
votes
3 answers

How to stop deployment to Heroku in progress

Is it possible to stop a deploy to Heroku (git push heroku) that is currently being built? Something like heroku run stopit! Btw. rolling back after successful deploy is not what I'm looking for.
Ole Henrik Skogstrøm
  • 6,353
  • 10
  • 57
  • 89
49
votes
32 answers

Heroku not recognized as an internal or external command (Windows)

Following this heroku tutorial to launch an app on heroku. But when I use the command heroku create, it says it's not recognized. I added C:\Program Files\Heroku to my PATH. How do I fix this?
James Mitchell
  • 2,387
  • 4
  • 29
  • 59
46
votes
3 answers

Is there a way to set a default app for Heroku Toolbelt?

I have more than one app/git remote at heroku and I would like to know if it is possible to configure a default application so that, whenever I forget to specify the app (--app), the toolbelt would use it.
Rafael Oliveira
  • 2,823
  • 4
  • 33
  • 50
41
votes
5 answers

Heroku Review Apps: copy DB to review app

Trying to fully automate Heroku's Review Apps (beta) for an app. Heroku wants us to use db/seeds.rb to seed the recently spun up instance's DB. We don't have a db/seeds.rb with this app. We'd like to set up a script to copy the existing DB from the…
Meltemi
  • 37,979
  • 50
  • 195
  • 293
39
votes
5 answers

Heroku: Login system - authentication loop failure

I am trying to login to my heroku account. I keep getting an error message that says "There was a problem with your login". There are no details of what the problem is. I tried changing my password through the forgot password action and I still get…
Mel
  • 2,481
  • 26
  • 113
  • 273
38
votes
3 answers

Heroku Toolbelt switch between multiple account

I would like to know what's the best way to switch between heroku account using the heroku toolbelt. I'm used to have a personnal heroku account which is a collaborator of all of my professionnal heroku app. The problem is when I want to make some…
Adrien Coquio
  • 4,870
  • 2
  • 24
  • 37
32
votes
3 answers

Postgres on Heroku and dumping single table to dump file

I am using Postgres on Heroku and am needing to dump one table from my production DB and dump it into my staging DB. I have the heroku tool belt installed, but am not sure how to dump a single db table to import into my staging db.
dennismonsewicz
  • 25,132
  • 33
  • 116
  • 189
31
votes
4 answers

Could not generate ssh public key for heroku in Windows 7

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:…
Suman Sapkota
  • 570
  • 1
  • 6
  • 15
30
votes
3 answers

How to set Heroku config var with contents of a file

To set config vars for a Heroku app, you do this: $ heroku config:set GITHUB_USERNAME=joesmith How would I set a config var with the contents of a file?
Yarin
  • 173,523
  • 149
  • 402
  • 512
28
votes
4 answers

Can someone explain "heroku ps:scale web=1"

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…
Ahmed Haque
  • 7,174
  • 6
  • 26
  • 33
1
2 3
34 35