Skip to content

digitalcityscience/TOSCA-Backend

Repository files navigation

TOSCA-Web API

TOSCA Django REST backend for the TOSCA-Web geospatial platform.

Quick Start

  1. Clone & Enter Directory

    git clone <repo-url>
    cd dcs-django-api
  2. Choose Environment

    • Default: dev
    • For production: make ENV=prod ...
    • Copy .env.exampe to env.dev
  3. Initialize Project (build, start, migrate)

    make initialize-project
  4. Activate GeoServer JDBC Settings

    make jdbc-settings-activation
  5. Create Django Superuser

    make django-createsuperuser
  6. View Logs

    make logs         # All services
    make django-logs  # Django only

Common Makefile Commands

  • make up / make down — Start/stop all services
  • make build / make rebuild — Build/rebuild Docker images
  • make django-shell — Open Django shell
  • make django-migrate — Run migrations
  • make django-test — Run Django tests
  • make uv-sync — Sync Python dependencies

See make help for all available commands.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •