-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCMD
27 lines (23 loc) · 947 Bytes
/
CMD
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
# archives
rm -Rf archives/15.0-archived/ && yarn archive
cd archives/15.0-archived/
rsync -av --del . bgee@archbioinfo.unil.ch:/var/www/html/bgee.unil.ch/bgee15_0/
# prod
rm -Rf build && yarn prod
cd build/
rsync -av --del . bgee@bioinfo.unil.ch:/var/www/html/bgee.unil.ch/
# annotations
echo 'ACHTUNG! Think to change "isRawDataOnly" to "true" first!'
rm -Rf build && yarn annot
cd build/
rsync -av --del . bgee@bioinfo.unil.ch:/var/www/html/annotations.bgee.org/
# rbgee (dev/test server)
echo 'Set isDevOnly to true to switch to dev build + Update DEV_URL if different from http://rbgee.unil.ch'
rm -Rf build && yarn dev
cd build/
rsync -av --del . bgee@rbioinfo.unil.ch:/var/www/html/bgee.unil.ch/
# dbbgee (dev/test server)
echo 'Set isDevOnly to true to switch to dev build + Update DEV_URL if different from http://dbbgee.unil.ch'
rm -Rf build && yarn dev
cd build/
rsync -av --del . bgee@dbbioinfo.unil.ch:/var/www/html/bgee.unil.ch/