Añadidos requirements.
This commit is contained in:
parent
755aaa79cd
commit
02dfa06b36
4 changed files with 137 additions and 282 deletions
26
deployer.sh
26
deployer.sh
|
|
@ -3,14 +3,14 @@
|
|||
set -x
|
||||
|
||||
### Variables de entorno ###
|
||||
echo "export DROGON_ENV=tst" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
echo "export DB_SERVICE_NAME=tst_drogon_db" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
echo "export NETWORK_NAME=tst_drogon_network" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
echo "export GIT_BRANCH=testing" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
DROGON_ENV=tst
|
||||
DB_SERVICE_NAME=tst_drogon_db
|
||||
NETWORK_NAME=tst_drogon_network
|
||||
GIT_BRANCH=testing
|
||||
echo "export DROGON_ENV=pro" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
echo "export DB_SERVICE_NAME=pro_drogon_db" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
echo "export NETWORK_NAME=pro_drogon_network" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
echo "export GIT_BRANCH=master" | tee -a /etc/profile.d/drogon_variables.sh
|
||||
DROGON_ENV=pro
|
||||
DB_SERVICE_NAME=pro_drogon_db
|
||||
NETWORK_NAME=pro_drogon_network
|
||||
GIT_BRANCH=master
|
||||
|
||||
###############################################################
|
||||
################# INSTALACION DE HERRAMIENTAS #################
|
||||
|
|
@ -75,30 +75,30 @@ sleep 10s
|
|||
|
||||
#Instalar dependencias
|
||||
cd ..
|
||||
pip3 install requirements.txt
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
#Explorer
|
||||
cd ./explorer/
|
||||
cd explorer
|
||||
python3 explorer.py >> explorer_log.log 2>&1 &
|
||||
|
||||
# Respiro
|
||||
sleep 10s
|
||||
|
||||
#Refresher
|
||||
cd ./refresher/
|
||||
cd ../refresher/
|
||||
python3 refresher.py >> refresher_log.log 2>&1 &
|
||||
|
||||
# Respiro
|
||||
sleep 10s
|
||||
|
||||
#Capturer
|
||||
cd ./capturer/
|
||||
cd ../capturer/
|
||||
python3 capturer.py >> capturer_log.log 2>&1 &
|
||||
|
||||
# Respiro
|
||||
sleep 10s
|
||||
|
||||
#Geocoder
|
||||
cd ./geocoder/
|
||||
cd ../geocoder/
|
||||
python3 geocoder.py >> geocoder_log.log 2>&1 &
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue