You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Daniel Sissom 87f3a6ab77
Made htaccess and cname files optional in makefile.
1 year ago
assets Added pug boilerplate setup. 1 year ago
config Initial commit. Added placeholders. 1 year ago
.gitignore Initial commit. Added placeholders. 1 year ago
Makefile Made htaccess and cname files optional in makefile. 1 year ago
README Updated readme and added makefile. 1 year ago
index.pug Added pug boilerplate setup. 1 year ago

README

In build upstream bare repo (webserver:/usr/local/src/web/example.com/www/), run:
# git init --bare --shared=group
# git config receive.denyCurrentBranch updateInstead
# git config receive.denyNonFastForwards false
?(# git config core.sharedRepository true)
# git worktree add /srv/prod/example.com/www master
# git worktree add /srv/beta/example.com/www release
# git worktree add /srv/dev/example.com/www dev
# chown -R root:srv .
# chmod -R g+swX .
# chown root:srv /srv/prod/example.com/www
# chmod g+swX /srv/prod/example.com/www
# chown root:srv /srv/beta/example.com/www
# chmod g+swX /srv/beta/example.com/www
# chown root:srv /srv/dev/example.com/www
# chmod g+swX /srv/dev/example.com/www
and add your user (on the server) to the srv group.