TOSCA Django REST backend for the TOSCA-Web geospatial platform.
-
Clone & Enter Directory
git clone <repo-url> cd dcs-django-api
-
Choose Environment
- Default:
dev - For production:
make ENV=prod ... - Copy .env.exampe to env.dev
- Default:
-
Initialize Project (build, start, migrate)
make initialize-project
-
Activate GeoServer JDBC Settings
make jdbc-settings-activation
-
Create Django Superuser
make django-createsuperuser
-
View Logs
make logs # All services make django-logs # Django only
make up/make down— Start/stop all servicesmake build/make rebuild— Build/rebuild Docker imagesmake django-shell— Open Django shellmake django-migrate— Run migrationsmake django-test— Run Django testsmake uv-sync— Sync Python dependencies
See make help for all available commands.