← back to the blog
fousa tag
Current tag: tag
2010
Staging environment on Heroku
Sometimes you want to test your application on one of your production servers so you can let your clients test your application in real life! What I wanted to do is point the master branch to dev.testapp.com and the production branch to testapp.com. The subdomain dev.testapp.com is my staging environment where the clients can play with the ap...
My Git integration with Terminal
The following scripts are added to my ~/.bash_profile for some Git integration. BRANCH AUTOCOMPLETION This piece of code autocompletes the branches when you press TAB. So "git checkout ma" and press TAB, will result in "git checkout master". _complete_git() { if [ -d .git ]; then branches=`git branch -a | cut -c 3-` tags=`git ta...
Heroku and Github for the same project
WHAT'S THE PROBLEM? I have a local branch called master. And I'm currently pushing this branch to my remote Github branch. Now I also want this branch to be used as my Heroku master branch. So I can deploy my code to the Heroku servers. What is my problem? I have a config.yml file with sensitive information inside. And I want it to be push...