5 Commits

Author SHA1 Message Date
Automated Action
9b58aaff62 Fix Supervisor startup issues
- Update start.sh to use dynamic path detection and better error handling
- Fix Supervisor configuration to use proper relative paths with %(here)s
- Resolve stderr logging conflicts by using redirect_stderr=true consistently
- Add proper environment variables to supervisor.conf
- Reduce workers to 1 to prevent memory issues on smaller servers
- Added comprehensive troubleshooting guide to README
- Enhance startup process with detailed logging and migration handling
- Configure proper user and permissions
2025-05-17 21:19:53 +00:00
Automated Action
221dbad51a Fix Supervisor startup issues
- Add startup script for production deployment
- Create Supervisor configuration file
- Update main.py to ensure database initialization at startup
- Add configurable port via environment variable
- Add Supervisor setup instructions to README
- Initialize database at application startup
2025-05-17 21:16:24 +00:00
Automated Action
b6561799a2 Fix Alembic migration error and database path resolution
- Fix 'No module named app' error by adding project root to Python path
- Ensure consistent database path between app and migrations
- Update database configuration to work in both development and deployment
- Set appropriate SQLite dialect configuration with render_as_batch
- Update documentation with additional migration instructions
- Fix imports order to comply with linting standards
2025-05-17 21:06:06 +00:00
Automated Action
938b6d4153 Create a simple generic REST API with FastAPI and SQLite
Implemented a complete FastAPI backend with:
- Project structure with FastAPI and SQLAlchemy
- SQLite database with proper configuration
- Alembic for database migrations
- Generic Item resource with CRUD operations
- REST API endpoints with proper validation
- Health check endpoint
- Documentation and setup instructions
2025-05-17 20:57:23 +00:00
Automated Action
4d5267741a Initial commit from template 2025-05-17 20:38:41 +00:00