Avances en sistema de deployment y configuracion.
This commit is contained in:
parent
25e52a9e25
commit
9a7ba03cd9
11 changed files with 1054 additions and 215 deletions
34
deployer.sh
34
deployer.sh
|
|
@ -3,6 +3,10 @@
|
|||
set -x
|
||||
|
||||
### Variables de entorno ###
|
||||
echo "DROGON_ENV=tst" >> /etc/profile.d/drogon_variables
|
||||
echo "DB_SERVICE_NAME=tst_drogon_db" >> /etc/profile.d/drogon_variables
|
||||
echo "NETWORK_NAME=tst_drogon_network" >> /etc/profile.d/drogon_variables
|
||||
DROGON_ENV=tst
|
||||
DB_SERVICE_NAME=tst_drogon_db
|
||||
NETWORK_NAME=tst_drogon_network
|
||||
|
||||
|
|
@ -68,16 +72,34 @@ sleep 10s
|
|||
|
||||
################# Servicios
|
||||
|
||||
# Instalar requerirements
|
||||
#Instalar dependencias
|
||||
cd ..
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install requirements.txt
|
||||
|
||||
#Explorer
|
||||
#Explorer
|
||||
cd ./explorer/
|
||||
python3 explorer.py >> explorer_log.log 2>&1 &
|
||||
|
||||
#Refresher
|
||||
# Respiro
|
||||
sleep 10s
|
||||
|
||||
#Capturer
|
||||
#Refresher
|
||||
cd ./refresher/
|
||||
python3 refresher.py >> refresher_log.log 2>&1 &
|
||||
|
||||
#Geocoder
|
||||
# Respiro
|
||||
sleep 10s
|
||||
|
||||
|
||||
#Capturer
|
||||
cd ./capturer/
|
||||
python3 capturer.py >> capturer_log.log 2>&1 &
|
||||
|
||||
# Respiro
|
||||
sleep 10s
|
||||
|
||||
|
||||
#Geocoder
|
||||
cd ./geocoder/
|
||||
python3 geocoder.py >> geocoder_log.log 2>&1 &
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue