readme, gitignore

This commit is contained in:
Simon Vieille 2015-05-06 23:05:51 +02:00
parent c1892822ea
commit 3512bf9177
4 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ composer.lock
vendor/
tags
*.swp
propel.yml

View File

@ -18,6 +18,11 @@ Installation
$ cd gist
$ make
Git
---
$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"
Composer
--------

View File

@ -3,5 +3,11 @@
*.swp
app/config/propel/
app/propel/
data/git
deploy
tags
propel.yaml
composer.lock
composer.json
bower.json
.bowerrc

View File

@ -3,12 +3,12 @@
cd "$(dirname "$0")/.."
deploy_preprod() {
rsync -avzoK --delete -e ssh * webgist@deblan.fr:/services/web/www/gist.deblan.org/
rsync -avzoK --delete -e ssh --exclude-from=app/config/rsync_exclude.txt * webgist@deblan.fr:/services/web/www/gist.deblan.org/
}
deploy_preprod_lan() {
rsync -avzoK --delete -e ssh * webgist@hinata:/services/web/www/gist.deblan.org/
rsync -avzoK --delete -e ssh --exclude-from=app/config/rsync_exclude.txt * webgist@hinata:/services/web/www/gist.deblan.org/
}
([ -n "$1" ] && deploy_$1) || deploy_preprod