Installation
Prerequisites
- Docker & Docker Compose
- Git
Setup
1. Clone the repository
2. Configure environment
Edit .env with your values — at minimum change JWT_SECRET_KEY:
3. Start services
This starts:
cms_postgres— PostgreSQL on port5434cms_api— FastAPI on port8100cms_docs— MkDocs on port8200
4. Run migrations
5. Seed the database
This creates default permissions, roles (admin, manager, viewer), and an admin user.
6. Verify
http://localhost:8100/health → API health check
http://localhost:8100/docs → Swagger UI
http://localhost:8200 → This documentation
Default Admin Credentials
Warning
Change these immediately in production.
| Field | Value |
|---|---|
| admin@cms.com | |
| Password | Admin1234! |