Once you run the app, see the API documentation at the app domain under path /docs
Configuration values are set as env vars in .env file.
You can see the full list of available configuration options in the following files:
- App configuration values: cwm_minio_api/config.py
- Web server configuration values: gunicorn_conf.py
Prerequisites:
Install:
uv sync
Set configuration values in .env file (See Configuration section above for details)
Start the DB:
docker compose up -d db
Run the CLI:
uv run cwm-minio-api --helpRun the web app:
uv run uvicorn cwm_minio_api.app:app --reload --factory
Access the API Docs at http://localhost:8000/docs
Apply all migrations:
bin/migrate.sh up
Create a new migration:
bin/migrate_create.sh descriptive_migration_name
Migrations management:
bin/migrate.sh --help