1637835fe6
Task 11: Implement Deployment and Configuration
...
- Add production.py with security hardening and performance optimizations
- Required environment variables for security (JWT, passwords, database)
- Database connection pooling for PostgreSQL/MySQL
- Security configurations and allowed hosts
- Production logging and rotation settings
- API rate limiting and performance tuning
- Add development.py with relaxed settings for local development
- Defaults for development (SQLite, debug logging, auto-reload)
- Higher rate limits and longer session timeouts
- Dev credentials for easy local setup
- Development database defaults
- Add environment configuration loader (__init__.py)
- Automatic environment detection
- Factory functions for lazy loading settings
- Proper environment validation
- Add startup scripts (start.sh)
- Bash script for starting application in any environment
- Conda environment validation
- Automatic directory creation
- Environment file generation
- Database initialization
- Development vs production startup modes
- Add setup script (setup.py)
- Python setup automation for environment initialization
- Dependency installation
- Environment file generation
- Database initialization
- Comprehensive validation and error handling
- Update requirements.txt with psutil dependency
All configurations follow project coding standards and include comprehensive
documentation, type hints, and error handling.
2025-10-22 10:28:37 +02:00
1c8c18c1ea
backup
2025-10-22 08:32:21 +02:00
2e57c4f424
test isses fixes
2025-10-20 22:46:03 +02:00
d143d56d8b
backup
2025-10-20 22:23:59 +02:00
e578623999
fix tests
2025-10-19 20:49:42 +02:00
d87ec398bb
test fixes
2025-10-19 19:57:42 +02:00
7481a33c15
instruction2
2025-10-12 22:39:51 +02:00
7a71715183
backup
2025-10-12 18:05:31 +02:00
57d49bcf78
Fix setup to login redirect issue
...
- Fix setup.html to use redirect_url from API response instead of hardcoded '/'
- Add database creation (aniworld.db, cache.db) during setup process
- Setup now properly creates all required files for validation
- After setup completion, users are correctly redirected to /login
- Tested: setup API returns correct redirect_url, database files created, redirect works
2025-10-06 13:32:35 +02:00
85f2d2c6f7
cleanup 2
2025-10-05 22:22:04 +02:00
e477780ed6
refactoring
2025-09-29 21:18:42 +02:00
78fc6068fb
new folder structure
2025-09-29 09:17:13 +02:00