Tag: heroku

Heroku update repo-dependencies?

I used this excellent answer to add a private git repo “Foo” as a dependency in a Node.js project “Bar” on Heroku. Suppose I push an update to that repo Foo, but Bar is unchanged. Is there a way to have Heroku update/pull Foo? At the moment the only way I’ve found is to make […]

How to use Swaggervel on Heroku?

I have a Laravel app on Heroku and Swaggervel working on my local machine. The problem occurs when I try to get Swaggervel to work on Heroku. Here is the ‘require’ portion of my composer.json: “require”: { “laravel/framework”: “5.0.*”, “jlapp/swaggervel”: “dev-laravel5” } as well as the relevant part of app.php: ‘App\Providers\EventServiceProvider’, ‘Jlapp\Swaggervel\SwaggervelServiceProvider’, ‘App\Providers\RouteServiceProvider’, However, when […]

Heroku Push Notifications Node Server Crashing

When I run a node server (node or nodemon) locally, I don’t have a problem sending push notifications (via apn). But when I push to heroku, It can access the key.pem file. I have a pushNotification object in the package.jason file: “pushNotification”: { “production”: false, “passphrase”: “abcdefghijklmnopqrstuvwxyz”, “cert”: “cert.pem”, “key”: “key.pem” }, This is the […]

“The requested URL returned error: 500” when heroku tries to install submodules

I’m trying to push my code repo to heroku, the same way I’ve done it 100 times in the past, but this time heroku is running into a problem installing a submodule (the same submodule that has been there for years): fatal: unable to access ‘https://user:password@bitbucket.org/company/my-submodule.git/’: The requested URL returned error: 500 I can still […]

Download Heroku roll back and push changes

I inadvertently made a bad update on my Heroky app and rolled back to another stable release. Now I’m trying to download this stable release on my hard drive and I thought I had it with the command git checkout release. However I made a change on my hard drive and now I can’t push […]

Error in git push heroku master “ Precompiling assets failed ”

I’m trying to do a git push heroku master to deploy my project but happens the following error. I’m following a tutorial however I have done what is asked many times and did not get success so I decided to ask for help It happens the following error Preparing app for Rails asset pipeline Running: […]

Multiple apps sharing the same code: how to avoid this violation of the 12-factor app manifesto

I have two java applications that both depend upon a library (i.e. my domain model). I deploy to a PaaS – namely Heroku – that promotes the 12-factor architecture. I use Git/Github as an SCM. I am not sure how to organise my modules’ source code with Git so that both applications can share the […]

Switching Heroku app to server in other region

I currently have a Heroku app myapp-us.herokuapp.com on a US based server, while I would like the app to run on an EU based server. But it’s not possible within Heroku to change the region of an existing app. Therefore, within Heroku I’ve created a second app now with the EU region selected: myapp-eu.herokuapp.com. My […]

Installing custom packages on heroku using https://github.com/ddollar/heroku-buildpack-apt

I’m attempting to install a package and I was pointed in the direction of installing heroku-buildpack-apt and heroku-buildpack-multi. This seems to work and now the project builds on the remote and I have installed multi using: heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git and installed the apt-get via including its reference in a .buildpacks file https://github.com/ddollar/heroku-buildpack-apt Now put the […]

pg_config executable not found on Windows 7 with PostgreSQL installed

I’m following the Heroku guide on using Python with Heroku. I’m on the step for installing dependencies, but when I run pip install -r requirements.txt –allow-all-external, I get this error: Error: pg_config executable not found. Please add the directory containing pg_config to the PATH or specify the full executable path with the option: python setup.py […]

Git Baby is a git and github fan, let's start git clone.