‘heroku’ does not appear to be a git repository
To add a Heroku app as a Git remote, you need to execute heroku git:remote -a yourapp. Source: Deploying with Git
To add a Heroku app as a Git remote, you need to execute heroku git:remote -a yourapp. Source: Deploying with Git
You can install the free New Relic add-on. It has an availability monitor feature that will ping your site twice per minute, thus preventing the dyno from idling. More or less the same solution as Jesse but maybe more integrated to Heroku… And with a few perks (performance monitoring is just great). Note: to all … Read more
To drop the database, if you are using SHARED_DATABASE_URL: $ heroku pg:reset DATABASE_URL Now to recreate the database with nothing in it: $ heroku run rake db:migrate To populate the database with your seed data: $ heroku run rake db:seed —OR— You can combine the last two (migrate & seed) into one action by executing … Read more
Second Update The FAQ is not available anymore. From the documentation of shrinkwrap: If you wish to lock down the specific bytes included in a package, for example to have 100% confidence in being able to reproduce a deployment or build, then you ought to check your dependencies into source control, or pursue some other … Read more
If you have npm version 5 or above, try this first: $ sudo npm cache verify Otherwise: $ sudo npm cache clean My node and npm versions are: $ node -v v0.10.0 $ npm -v 1.2.14 https://docs.npmjs.com/cli/cache
See https://devcenter.heroku.com/articles/git#deploying-code $ git push heroku yourbranch:master
Update (thanks to dawmail333): heroku logs -n 1500 or, to tail the logs live heroku logs -t Heroku log documentation If you need more than a few thousand lines you can Use heroku’s Syslog Drains Alternatively (old method): $ heroku run rails c File.open(‘log/production.log’, ‘r’).each_line { |line| puts line }
Heroku dynamically assigns your app a port, so you can’t set the port to a fixed number. Heroku adds the port to the env, so you can pull it from there. Switch your listen to this: .listen(process.env.PORT || 5000) That way it’ll still listen to port 5000 when you test locally, but it will also … Read more
You have to upload your public key to Heroku: heroku keys:add ~/.ssh/id_rsa.pub If you don’t have a public key, Heroku will prompt you to add one automatically which works seamlessly. Just use: heroku keys:add To clear all your previous keys do : heroku keys:clear To display all your existing keys do : heroku keys EDIT: … Read more
Heroku links your projects based on the heroku git remote (and a few other options, see the update below). To add your Heroku remote as a remote in your current repository, use the following command: git remote add heroku git@heroku.com:project.git where project is the name of your Heroku project (the same as the project.heroku.com subdomain). … Read more