Created
August 16, 2025 20:38
-
-
Save perseoq/a0274bedbbc4ca18443bf1eac117b794 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Verificar si el entorno virtual ya está activo | |
| if [[ -z "$VIRTUAL_ENV" ]]; then | |
| echo "Activando entorno virtual..." | |
| source .venv/bin/activate | |
| python wsgi.py | |
| else | |
| echo "El entorno virtual ya está activo: $VIRTUAL_ENV" | |
| python wsgi.py | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment