Spaces:
Sleeping
Sleeping
File size: 3,471 Bytes
1bd59e2 21f297c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | ---
title: Ejemplo CRUD Python
emoji: 🐠
colorFrom: indigo
colorTo: red
sdk: docker
pinned: false
license: gpl-3.0
short_description: Ejemplo académico para hacer un CRUD con Flask de Pytho
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# ☁️ Proyecto CRUD: Registro de Personas (Cloud - Hugging Face & Docker)
Esta versión del sistema de Registro de Personas está optimizada para el despliegue en la nube a través de **Hugging Face Spaces** utilizando contenedores **Docker**.
---
# ☁️ CRUD Project: Registration of Persons (Cloud - Hugging Face & Docker)
This version of the Registration of Persons system is optimized for cloud deployment via **Hugging Face Spaces** using **Docker** containers.
---
## 🛠️ Características Especiales (Special Features)
- **Despliegue**: Dockerizado para máxima compatibilidad.
- **Producción**: Utiliza `Gunicorn` como servidor profesional.
- **Seguridad de Sesión**: Configuración fija de `secret_key` y cookies `SameSite=None` para permitir el funcionamiento dentro de iFrames (requerido por Hugging Face).
- **Estabilidad**: Configurado con un solo trabajador (`workers 1`) para garantizar la persistencia de la sesión.
---
## Special Features
- **Deployment**: Dockerized for maximum compatibility.
- **Production**: Uses `Gunicorn` as a professional server.
- **Session Security**: Fixed `secret_key` configuration and `SameSite=None` cookies to allow operation within iFrames (required by Hugging Face).
- **Stability**: Configured with a single worker (`workers 1`) to ensure session persistence.
---
## 🚀 Despliegue
### Opción A: Mediante el formulario de Upload Files de Hugging Face
Sube la carpeta con el proyecto directamente a tu Space en Hugging Face.
### Opción B: Mediante Git
1. Crea un nuevo Space de tipo **Docker**.
2. Haz el commit del contenido de esta carpeta:
```bash
git add .
git commit -m "Despliegue inicial en Hugging Face"
git push origin main
```
---
## 🚀 Deployment
### Option A: Using the Hugging Face Upload Files form
Upload the folder with the project directly to your Space on Hugging Face.
### Option B: Using Git
1. Create a new **Docker** type Space.
2. Commit the contents of this folder:
```bash
git add .
git commit -m "Initial deployment on Hugging Face"
git push origin main
```
---
## 🔧 Archivos Clave (Key Files)
- `Dockerfile`: Instrucciones para construir el contenedor.
- `app.py`: Configuración optimizada para la nube.
- `requirements.txt`: Dependencias requeridas.
---
## 🔧 Key Files
- `Dockerfile`: Instructions for building the container.
- `app.py`: Configuration optimized for the cloud.
- `requirements.txt`: Required dependencies.
---
## 🎓 Créditos
- **Product Owner**: Prof. Mónica Tahan
- **Desarrollo**: Mónica Tahan & Google Antigravity AI
- **Institución**: UNEXPO - Nucleo Guarenas
- **Asignatura**: Computación 1
- **Sección**: 37
---
> [!NOTA]
> Este proyecto tiene fines puramente didácticos para la enseñanza de estructuras de datos y desarrollo web en ingeniería.
---
## 🎓 Credits
- **Product Owner**: Prof. Mónica Tahan
- **Development**: Mónica Tahan & Google Antigravity AI
- **Institution**: UNEXPO - Nucleo Guarenas
- **Course**: Computación 1
- **Section**: 37
---
> [!NOTE]
> This project is for purely didactic purposes for teaching data structures and web development in engineering.
|