Skip to content

Instantly share code, notes, and snippets.

View vcastellm's full-sized avatar

Victor Castell vcastellm

View GitHub Profile
Rails CMS alternatives
======================
Note: project activity was checked on 11/26/09 for most of these projects, and the "last update" field has not been kept up to date since then.
Active projects:
---------------
adva-cms
repo: http://github.com/svenfuchs/adva_cms/
site: http://adva-cms.org/
Last update: 11/24/09
@vcastellm
vcastellm / git_deploy.sh
Created August 31, 2010 11:59
Git auto update hook for web deployment
echo "Enter an existing repository name:"
read REPONAME
cd /home/git/repositories/$REPONAME.git
echo "Configuring bare git repo..."
git --bare update-server-info
git config core.bare false
git config receive.denycurrentbranch ignore
git config core.worktree /var/www/$REPONAME
mkdir /var/www/$REPONAME