make test # Run tests
python manage.py runserver # Dev server
python manage.py migrate # Migrations
python manage.py collectstatic # Static files (production)- Redis:
redis://127.0.0.1:6379/1(Linux:sudo systemctl start redis-server) - PostgreSQL: Default. Set
POSTGRES_ENABLED=Falsefor SQLite - Environment: Copy
.env.exampleto.env
- Migrations: If
makemigrationsfails with error 130, checktienda/migrations/- file often created anyway - Test DB: Always uses SQLite (hardcoded)
- App URL:
http://localhost:8000/tienda/(not/) - Admin:
/admin/ - User Model: Use
tienda.Userfor queries
proyecto/- Django settings, URLs, WSGI/ASGItienda/- Main app (models, views, admin, templates)- Templates extend
tienda/templates/tienda/base.html
Only Almería province, Spain (04xxx). Country: "España".
- Payment: Stripe + PayPal (via .env)
- Storage: S3 - set
S3_ENABLE=True - Email: SMTP (see .env.example)
- Async: Celery + Redis
- Push to
originandgithubafter changes - GitHub Actions updates
ghcr.io/dsaub/proyecto-mvc:development - SSH:
debian@172.16.14.221(requires VPN - skip if unavailable) - Stack:
/home/debian/composes/mvc/mvc.ymlon swarm - Timeout: 1 minute max when updating services
- Docker job requires Test job to pass first
- Repo: https://github.com/dsaub/proyecto-final
- Python: 3.14, use
.venvvirtualenv - GIT: origin → git.elordenador.org, github → GitHub
- Docs:
.github/copilot-instructions.md,docs/