Sfoglia il codice sorgente

allow remote connections

Matthew Trejo 3 giorni fa
parent
commit
20e7d86464
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      README.md
  2. 1 1
      app.py

+ 1 - 1
README.md

@@ -16,7 +16,7 @@ Aplicación web en Flask para calcular la viabilidad de proyectos de energía so
    source venv/bin/activate  # Linux/Mac
    # venv\Scripts\activate   # Windows
    pip install -r requirements.txt
-   ```
+   ```   
 
 2. **Configuración de Base de Datos:**
    - Asegúrate de tener un servidor PostgreSQL corriendo.

+ 1 - 1
app.py

@@ -22,4 +22,4 @@ def create_app():
 
 if __name__ == '__main__':
     app = create_app()
-    app.run(debug=True)
+    app.run(host='0.0.0.0', debug=True)