Major refactor: Fix SQLite concurrency, remove rate limiting, simplify architecture

- Switch to single Gunicorn worker to eliminate SQLite database locking issues
- Remove Flask-Limiter and all rate limiting complexity
- Remove Cloudflare proxy setup and dependencies
- Simplify configuration and remove unnecessary features
- Update all templates and static files for streamlined operation
- Clean up old files and documentation
- Restore stable database from backup
- System now runs fast and reliably without database locks
This commit is contained in:
2025-09-21 19:45:08 +01:00
parent b08b81fec9
commit cd27cc8ad9
26 changed files with 1326 additions and 677 deletions

View File

@@ -41,13 +41,13 @@ echo ""
echo "Setup complete! You can now:"
echo "1. Configure admin credentials:"
echo " python generate_password.py"
echo " python config_manager.py admin.username 'yourusername'"
echo " python config_manager.py admin.password_hash 'generated_hash'"
echo " # Then edit config.json and update admin.username and admin.password_hash"
echo ""
echo "2. Configure other settings:"
echo " python config_manager.py app.port 6969"
echo " python config_manager.py quotes.min_length 1"
echo " python config_manager.py quotes.max_length 10000"
echo "2. Configure other settings by editing config.json:"
echo " # app.port - Change server port"
echo " # quotes.min_length - Minimum quote length"
echo " # quotes.max_length - Maximum quote length"
echo " # security.csrf_enabled - Enable/disable CSRF protection"
echo ""
echo "3. Start the application:"
echo " source .venv/bin/activate"