Ver Fonte

Pongo path al venv en entrypoint.sh

Celestino Rey há 1 ano atrás
pai
commit
923e7ff5e3
2 ficheiros alterados com 5 adições e 0 exclusões
  1. 3 0
      README.md
  2. 2 0
      src/config/entrypoint.sh

+ 3 - 0
README.md

@@ -13,6 +13,9 @@ Crear un proyecto y luego añadir una app desde Agregar, importar desde git.
 Tal y como está la estructura de directorios, deberia detectar automáticamente una compilación Python
 
 
+Desde la línea de comandos, sería:
+
+oc new-app http://gitea.reymota.es/creylopez/ReyMotaAppsOC.git -e DEBUG=True
 
 
 

+ 2 - 0
src/config/entrypoint.sh

@@ -4,6 +4,8 @@ DATABASE=postgres
 SQL_HOST=cluster-pg-rw.cloudnativepg
 SQL_PORT=5432
 
+export PATH=/opt/venv/bin:$PATH
+
 if [ "$DATABASE" = "postgres" ]
 then
     echo "Waiting for postgres..."