Add production deployment files:
- INSTALL.md: Complete installation guide in Spanish
- setup.sh: Automatic setup script for dependencies
- .env.example: Environment variables template
- Updated requirements.txt and .gitignore
This commit is contained in:
parent
fe42de5bfa
commit
d909006a01
5 changed files with 560 additions and 6 deletions
17
.env.example
Normal file
17
.env.example
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Configuración de ejemplo para GestionTablets
|
||||
# COPIA este archivo a .env y ajusta los valores según tu entorno
|
||||
|
||||
# Configuración de Flask
|
||||
FLASK_APP=app.py
|
||||
FLASK_ENV=development
|
||||
|
||||
# Clave secreta para sesiones y CSRF
|
||||
# GENERA UNA NUEVA CON: openssl rand -hex 32
|
||||
# O en Python: python3 -c "import secrets; print(secrets.token_hex(32))"
|
||||
SECRET_KEY=cambiar_esta_clave_por_una_segura_en_produccion
|
||||
|
||||
# Configuración de la base de datos
|
||||
DATABASE=tablets.db
|
||||
|
||||
# Puerto del servidor (solo para desarrollo)
|
||||
PORT=5000
|
||||
Loading…
Add table
Add a link
Reference in a new issue