Questions tagged [heroku]

Heroku is a cloud platform for Ruby, Node.js, Python, Scala, Clojure, Go, PHP, and JVM-based applications. It features Git-based, GitHub, and API deployment strategies, a large number of services offered as add-ons, and a full API.

Heroku (pronounced her-OH-koo) is a cloud platform for , , , and -based (, , , etc.) applications. It features, among other things:

Git-based deployment strategy

Applications on Heroku are managed with Git. Simply pushing your codebase to Heroku is all it takes to deploy your application.

Add-Ons

Heroku offers a growing number of add-ons via its add-on provider program. Additional services, such as error tracking and reporting, incoming and outgoing email services, hosted no-SQL databases, full-text search and more, are available via a few clicks or commands on the prompt.

Dev Center

Heroku Dev Center contains official guides for platform, languages and add-ons etc.,

Buildpacks

Any language not supported by default can be enabled by creating a custom 'buildpack'.

Configuration

For greater safety and portability, Heroku allows you to manage environment-specific configuration separately from your source code.

Fully Managed, Multi-Tenant Architecture

Heroku's architecture is designed to keep your app running smoothly with minimal interaction on your part. The Heroku site has a detailed explanation of its architecture.

Full API

All of Heroku's functionality can be accessed from the command line (via the Heroku gem), including managing SSH keys, increasing or decreasing the number of dynos, managing SSL certificates, adding or removing add-ons, and more.

Rails 4

Prior to Rails 4, Heroku uses the plugin system to inject some code into your application when you deploy. Plugins are no longer supported in Rails 4, so Heroku has provided some gems. Please see the Rails 4 Documentation

Reference Links:

43716 questions
163
votes
4 answers

Get Error: You must install at least one postgresql-client- package when deploy to heroku

sdilshod@sdilshod-Lenovo-B590:~/webapp/saturn$ heroku run rake db:migrate Running `rake db:migrate` attached to terminal... up, run.6194 DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be…
dilshod
  • 1,831
  • 2
  • 12
  • 11
160
votes
10 answers

Recompile Heroku slug without push or config change

I'm wondering if there is a way to force Heroku to recompile the slug without pushing new commits and/or updating the config variables. Why would I want to do this?: I am using the Cedar stack on Heroku for a Rails 3.2 app, and I am having problems…
Nathan
  • 7,816
  • 8
  • 33
  • 44
158
votes
5 answers

How to see files and file structure on a deployed Heroku app

My client app that is deployed on Heroku allows the user to upload images onto Heroku. I wanted to test out a change I made to delete images, so I need a way to see the state of the folder structure on Heroku to ensure the images are being deleted…
andy mccullough
  • 9,070
  • 6
  • 32
  • 55
157
votes
5 answers

Getting "Warning: unprotected private key file!" error message while attempting to import SSH key

Can someone explain this to me please and what I can do to sort out my permissions issue. It seems to be stopping me from getting the authenticity of host heroku and fixing my keys issues. david@daniel-Inspiron-531:~$ ssh-add…
David
  • 1,709
  • 2
  • 10
  • 12
155
votes
8 answers

Rails 2.3-style plugins and deprecation warnings running task in Heroku

I'm upgrading to Rails 3.2, and running rake db:migrate gives me several errors of the form: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle…
fearless_fool
  • 33,645
  • 23
  • 135
  • 217
148
votes
25 answers

H14 error in heroku - "no web processes running"

error H14 happen while deploying to heroku this is my procfile: web: gunicorn -w 4 -b 0.0.0.0:$PORT -k gevent main:app log on heroku: 2017-01-23T10:42:58.904480+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET…
Ron Miles
  • 1,503
  • 2
  • 11
  • 6
148
votes
14 answers

Heroku 'Permission denied (publickey) fatal: Could not read from remote repository' woes

I've searched around for many hours on end looking to a solution to my seemingly easy-to-fix problem. It's not that my search turned up nothing, it's that my search turned up so many different solutions -none of which have worked. Anyways, I am…
thebradbain
  • 3,139
  • 4
  • 16
  • 17
146
votes
5 answers

Heroku/GoDaddy: send naked domain to www

I am trying to figure out how to get the naked domain for my website to redirect to the www domain. I am using Heroku and have the domain from GoDaddy. Because of Heroku, my A records are already set up as: @: 75.101.145.87 @: 75.101.163.44 @: …
Andrew Latham
  • 5,982
  • 14
  • 47
  • 87
142
votes
5 answers

How can I deploy/push only a subdirectory of my git repo to Heroku?

I have a project that uses Serve and is version controlled using Git. Serve creates an output folder with static files that I want to deploy to Heroku. I don't want to deploy the Serve project itself since the Heroku Cedar stack doesn't seem too…
Olivier Lacan
  • 2,636
  • 2
  • 24
  • 22
142
votes
16 answers

How do I clear stuck/stale Resque workers?

As you can see from the attached image, I've got a couple of workers that seem to be stuck. Those processes shouldn't take longer than a couple of seconds. I'm not sure why they won't clear or how to manually remove them. I'm on Heroku using Resque…
Shpigford
  • 24,748
  • 58
  • 163
  • 252
142
votes
34 answers

First Heroku deploy failed `error code=H10`

I deployed my app to Heroku. It's a node.js + express + socket.io app and this is the package.json file { "name": "game_test", "author": "Ilya", "description": "A test app for our board game", "version": "0.0.1", "private": true, …
ilyo
  • 35,851
  • 46
  • 106
  • 159
138
votes
26 answers

heroku: src refspec master does not match any

I'm hosting on Heroku. When I push: git push master Heroku I get the error: error: src refspec master does not match any. error: failed to push some refs to 'git@heroku.com: etc ...'
Mark
  • 1,961
  • 4
  • 16
  • 20
135
votes
5 answers

What exactly is Heroku?

I just started learning Ruby on rails and I was wondering what Heroku really is? I know that its a cloud that helps us to avoid using servers? When do we actually use it?
user1452803
  • 1,479
  • 2
  • 10
  • 4
131
votes
10 answers

Cannot push to Heroku because key fingerprint

I am new to Rails, and I was trying to deploy a very simple app to Heroku. This is the second app that I deploy, and the first one I was able to do it just fine. However I am having some issues with this one. Whenever I "git push heroku master", I…
mre
  • 1,393
  • 2
  • 10
  • 7
131
votes
10 answers

How to import a text file on AWS S3 into pandas without writing to disk

I have a text file saved on S3 which is a tab delimited table. I want to load it into pandas but cannot save it first because I am running on a heroku server. Here is what I have so far. import io import boto3 import os import pandas as…
alpalalpal
  • 1,583
  • 2
  • 12
  • 14