Tag: heroku

Deploy static assets to heroku from local machine – can't open file 'manage.py': No such file or directory

I am trying deploy my assets files to heroku and I get this output in my command line interface: (nrb_dev) ➜ neurorehabilitation_projects git:(master) ✗ heroku run python manage.py collectstatic Running python manage.py collectstatic on neurorehabilitation…. up, run.5168 python: can’t open file ‘manage.py’: [Errno 2] No such file or directory (nrb_dev) ➜ neurorehabilitation_projects git:(master) ✗ It’s […]

Heroku – Added SSH public key and still getting Permission denied (publickey) error

Uploaded to Heroku many times before and don’t know what’s wrong this time– maybe it’s because I’m using public internet? Anyway, so I added a new public key with >heroku keys:add Found existing public key: C:/Users/Chris/.ssh/id_rsa.pub Uploading SSH public key C:/Users/Chris/.ssh/id_rsa.pub…done >git push heroku master Permission denied (publickey). fatal: The remote end hung up unexpectedly […]

How can I upload a DB to Heroku

I have a shared heroku app, now I wan’t to create a test app also in heroku with the same code, so I’ve created a new app, ok, the thing is that for the app to work it needs a database, so I’m trying to upload my local DB but don’t know how to. Can […]

Heroku/python failed to detect set buildpack

I’m a Django newbie, I created an app and want to deploy it using Heroku. However, when I do git push heroku master (I follow Heroku’s getting started), this is what I got: Counting objects: 36, done. Delta compression using up to 4 threads. Compressing objects: 100% (33/33), done. Writing objects: 100% (36/36), 19.22 KiB […]

Access current git commit number from within Heroku app

I know the slug compiler removes the .git directory when creating a heroku slug, but is there any way to configure Heroku so that I can access the currently running git commit number from within my scripts? I’d like to be able to have a small link on my sinatra app (run within Heroku) which […]

Push rejected, failed to compile Node.js app heroku

When I tried to push my nodejs app to heroku with git push heroku master, i got this: Counting objects: 975, done. Delta compression using up to 2 threads. Compressing objects: 100% (862/862), done. Writing objects: 100% (975/975), 3.74 MiB | 80.00 KiB/s, done. Total 975 (delta 70), reused 0 (delta 0) —–> Node.js app […]

Why does Heroku fail to detect Node.js buildpack?

I git cloned a Node.js application (the version specified in the package.json being 4.1.2 and that of my local machine being 6.2.2) and tried to git push on Heroku. But it failed to build and gave this error: Failed to detect set buildpack https<span>:</span>//codon-buildpacks.s3.amazonaws&period;com/buildpacks/heroku/nodejs.tgz Now I set the buildpack to heroku/nodejs and I get this […]

Can't push to the heroku

I was pushing the current git repository into the heroku. That online application was developed using Scala and IntelliJ. And I don’t know how to fix this error. $ git push heroku master Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 531 bytes […]

After git push heroku – uploaded files on Heroku are lost

I’m new to Ruby on Rails and I have to admit my grasp on version control systems could be firmer. That said: My fairly basic rails application has a user model with avatars through the Paperclip, which are stored in the default directory public/system/avatars. That works so far. The application is deployed to Heroku with […]

Geting an error pushing to github – Updates were rejected because a pushed branch tip is behind its remote

I am having a problem pushing to a different heroku remote. To check myself I renamed my entire project directory to _backup and then: git clone account/repo_name git remote add repo2 git@heroku.com:repo2.git git push repo2 branch_abc:master But I am still getting hint: Updates were rejected because a pushed branch tip is behind its remote hint: […]

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