Tag: deployment

Is there an easy way to push the code to 50 websevers **in parallel**?

Say I have a decent git server(source code repos). I want to push the code to 50 websevers, I can do the following in sequence: #!/bin/bash for i in {1..50} do ssh root@websever$i ‘(cd /var/www/project; git pull)’ done Question: Is there an easy way to push the code to 50 websevers in parallel? Thanks.

Git: Deploy only a directory from post-receive hook

Having followed the instructions from this article I have a post-receive hook which currently reads: #!/bin/sh git –work-tree=/home/user/example.com –git-dir=/home/user/example.com.git checkout -f This is working well – all the files and directories are getting deployed. However I’d like to only deploy the files from the Build folder within example.com.git (I’m using Hammer by the way.) so […]

Git repository without history

Is it possible to have a Git repository without history? For example, I have a local Git repository where I work and I want to push the latest version to the production server. No history should be stored on the production server. How can I do that?

Error while deploying to heroku: rake assets:precompile PG::ConnectionBad: could not connect to server: Connection refused

While trying to git push the application to heroku, i get this specific error: remote: Running: rake assets:precompile remote: PG::ConnectionBad: could not connect to server: Connection refused remote: Is the server running on host “” and accepting remote: TCP/IP connections on port 5432? I tried to follow the steps of the article : https://devcenter.heroku.com/articles/rails-asset-pipeline#troubleshooting And […]

Deployment process for custom modules in SugarCRM

I’m trying to understand what is the best way to deploy custom modules from a development environment to staging or production. Reading from SugarCRM support pages (http://support.sugarcrm.com/04_Knowledge_Base/02Administration/100Studio_and_Module_Builder/01_Best_Practices_When_Building_Custom_Modules/), all new modules should be built with Module Builder. The output of this is a .zip file which is a deployable unit. Then the support page says never […]

How to handle elastic beanstalk deployment so it uploads only changed files

I am having issue with elastic beanstalk as I am new to AWS. I setup everything and deployed first app, so far so good. But when I pushed another bunch of changes, it just replaced whole files rather than just changed ones. During the development there are different configs at localhost and server so there […]

We use SVN in our company. My whole team wants us to deploy by copying everything, everytime

The current deployment process entails that we only move the differences between the current SVN revision and the SVN revision of the last deployment, which works flawlessly in my project. Other projects complain from this method and want to deploy everything, move every file from the development environment to other environments like testing, staging, or […]

Netlify triggered builds without any action from anyone in our team. Why?

My webapp front end is connected to Netlify to handle deployment. As it is supposed to work, each time someone merges something to master, staging or prod branches, Netlify automatically triggers the build for the deployment. Nobody in the team did any commit nor triggered manually any build on Netlify, however this morning I saw […]

How redeploy application on Google App Engine?

I couldn’t find it in the documentation, so help me please. When I want to deploy WAR file to Google App Engine, I just clone it from git in the cloud shell and press mvn appengine:deploy And application successfully deploys and starts. So I have a question, when I’m fixing something, pushing in git, how […]

Deploying and updating website

I prefer to put my projects in the localhost as http://domain.local In addition, I use Git to push files to the remote server. The problem is that I don’t want to edit the domain name on the server on each time the website is updated. I don’t think it is the right way to use […]

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