Tag: heroku

Updating and adding files in heroku repository

Im hosting my fb tab pages on heroku. Newbie in git command. I have modified my index.php, do I have to “git add” the file again to update my file in the repository? Also, how do I add bulk files. I have images, can I do bulk “git add” how. Thanks much. Tried google but […]

Cant push master branch to heroku

So i am collaborating on a project and cloned the repo from github, made some changes and pushed to heroku. Now the cloned app had all of its keys and passwords hardcoded, not in ENV variables. So i created ENV variables, added the file to .gitignore. So this app still has these keys in the […]

Git – Push to Deploy and Removing Dev Config

So I’m writing a Facebook App using Rails, and hosted on Heroku. On Heroku, you deploy by pushing your repo to the server. When I do this, I’d like it to automatically change a few dev settings (facebook secret, for example) to production settings. What’s the best way to do this? Git hook?

heroku:ERROR: File '/composer.phar' isn't executable; please 'chmod +x'!

I have a problem when execute git push heroku master $ git push heroku master Counting objects: 291, done. Delta compression using up to 8 threads. Compressing objects: 100% (278/278), done. Writing objects: 100% (287/287), 2.95 MiB | 27.00 KiB/s, done. Total 287 (delta 55), reused 1 (delta 0) remote: Compressing source files… done. remote: […]

Don't have access to Heroku app

I have a mystery app in Heroku. It’s called weird-app-5536 When I try to push my code to Heroku I get this message: Your account my_email@geemail.com does not have access to weird-app-5536. ! ! SSH Key Fingerprint: ************************************************* fatal: Could not read from remote repository. Please make sure you have the correct access rights and […]

Heroku Rails “Application Error”

Although my app is running with no errors locally I am getting a crash in production mode on Heroku. Application Error An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details. I’m vey new […]

How to continue further development from old changeset in Git?

The scenarios is as follow: 1 <- 2 <- 3 <- 4 <- 5 The head is currently at 5, master branch. Later we found that changeset 3 to 5 contains unneeded features (but we don’t want to delete those changesets), and we want to continue further development from changeset 2. In future, the changesets […]

Git workflow with Octopress on Heroku

I want to deploy an Octopress blog on Heroku. The problem is that this requires to add the “public” directory (containing the compiled stuff) under VCS. But for my general workflow I don’t want to track this directory. So what can should I do to: Track the changes to source and config files and push […]

accidentally rolled back to a previous commit in git

I am new to Git and not sure what I did wrong. I have bunch of branches along side master for example – filling-layout, data-upload, sign-in-out etc. I had moved on to a new branch, when I had to change something in my layout. So I thought it would be better to go back to […]

managing production credentials in heroku

we’re deploying a heroku app to production. it accepts credit card numbers, so we have to be careful with the credentials that are in it. we use git for source control. if i were deploying to a regular server, i’d keep the production config files separately, and copy them in when deploying. the problem is […]

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