Browse Source

Pongo path al venv en entrypoint.sh

main
Celestino Rey 9 months ago
parent
commit
923e7ff5e3
2 changed files with 5 additions and 0 deletions
  1. +3
    -0
      README.md
  2. +2
    -0
      src/config/entrypoint.sh

+ 3
- 0
README.md View File

@ -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 View File

@ -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..."


Loading…
Cancel
Save