forked from deblan/gist
readme, gitignore
This commit is contained in:
parent
c1892822ea
commit
3512bf9177
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ composer.lock
|
|||
vendor/
|
||||
tags
|
||||
*.swp
|
||||
propel.yml
|
||||
|
|
|
@ -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
|
||||
--------
|
||||
|
||||
|
|
|
@ -3,5 +3,11 @@
|
|||
*.swp
|
||||
app/config/propel/
|
||||
app/propel/
|
||||
data/git
|
||||
deploy
|
||||
tags
|
||||
propel.yaml
|
||||
composer.lock
|
||||
composer.json
|
||||
bower.json
|
||||
.bowerrc
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue