-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmakefile
executable file
·43 lines (36 loc) · 1.36 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
git:
sed -i '1 s|^.*$$|#!/usr/bin/env python2.7|' crispor.cgi
dev:
sed -i '1 s|^.*$$|#!/cluster/software/bin/python2.7|' crispor.cgi
commit:
make git; git add crispor.cgi; git commit; make dev;
pushNew:
mkdir -p /data/www/crispor.new
rsync -lrvp --exclude=.git /data/www/crisporBeta/ /data/www/crispor.new/ --exclude=crispor.conf
#
cd /data/www/crisporBeta && ./stopWorkers.sh
cd /data/www/crispor && ./stopWorkers.sh
#
mv /data/www/crispor /data/www/crispor.old
mv /data/www/crispor.new /data/www/crispor
#
cd /data/www/crispor && ./startWorkers.sh
cd /data/www/crisporBeta && ./startWorkers.sh
push:
cd /data/www/crispor && ./stopWorkers.sh && true
rsync -lrvp --exclude=.git /data/www/crisporBeta/ /data/www/crispor/ --exclude=crispor.conf --exclude temp --inplace --progress --verbose
cd /data/www/crispor && ./startWorkers.sh
pushOne:
sudo cp crispor.py /data/www/crispor/
sudo cp doc/changes.html /data/www/crispor/doc/
miniPush:
cd /data/www/crispor && ./stopWorkers.sh && true
cp /data/www/crisporBeta/crispor.py ./crispor.py
cp /data/www/crisporBeta/doc/changes.html ./doc/changes.html
cd /data/www/crispor && ./startWorkers.sh
bigPush:
cd /data/www/crispor && ./stopWorkers.sh && true
cp crispor.py /data/www/crispor/
cp bin/filterFaToBed /data/www/crispor/bin/
cp bin/samToBed /data/www/crispor/bin/
cd /data/www/crispor && ./startWorkers.sh