Revision 56939
Added by Argiro Kokogiannaki about 5 years ago
prepareDeploy.sh | ||
---|---|---|
14 | 14 |
# echo -n "Press key:"; |
15 | 15 |
# read -n1 ans |
16 | 16 |
# pico ../src/assets/env-properties.json; |
17 |
# echo -n 'Check Robots.txt: For test and beta add "Diasallow /", for production remove it!';
|
|
17 |
# echo -n 'Check Robots.txt: always add "Diasallow /"';
|
|
18 | 18 |
# echo -n "Press key:"; |
19 | 19 |
# read -n1 ans |
20 | 20 |
# echo -n "Pressed"; |
... | ... | |
30 | 30 |
##copy "deploy-folder/dist" in demo.openaire.eu |
31 | 31 |
##coppies of previous deployments exist in "/home/argiro.kokogiannaki/uoa-portal/connect-adminYYYY-MM-DD" |
32 | 32 |
##become nodejs user: "sudo su nodejs -s /bin/bash" |
33 |
##go to "cd /srv/www/portal-www" |
|
34 |
##cp files from "cp -r HOME_PATH/deploy-folder/* ." |
|
33 |
##protal files exists in "/srv/www/portal-www" |
|
34 |
##cp files from "cp -r /home/argiro.kokogiannaki/uoa-portal/connect-adminYYYY-MM-DD/* /srv/www/portal-www" |
Also available in: Unified diff
[Admin-tool]
Deploy:
update properties (cache = false)
update script instructions