Changes

Gitolite

221 bytes added, 22:26, 19 July 2013
/* Deploy */
APP=user-to-chown-to #example: www-data
/home/git/hooks/deploy.sh $APP $DIR
* Permissions fix for the hooks and repo
chmod +x /home/git/repositories/yourproject/hooks/post-receive
chown -R gitolite:$APP /where/your/project/should/be/deployed
chmod -R 750 /where/your/project/should/be/deployed
* It's also a good thing to have a check of the database when you launch the application, and automatically create it if it doesn't yet exist.
ControlGroup, administrator
4,205
edits