Skip to content
Snippets Groups Projects
Select Git revision
  • 42b6936ec39a33fa68d8feff6796c1065393aa9c
  • y3 default
  • y2
  • y1
4 results

csep

  • Clone with SSH
  • Clone with HTTPS
  • Radosław Piliszek's avatar
    Radosław Piliszek authored
    42b6936e
    History

    CSEP

    Canary Sandbox Environment Provisioner

    Run for development

    Use Docker and docker-compose:

    docker-compose up -d

    The API server auto-reloads. The worker can be restarted as a container.

    The API server is, by default, accessible on http://127.0.0.1:8000 (also available as http://localhost:8000 in most cases). The OpenAPI docs are specifically at http://127.0.0.1:8000/docs.

    Static OpenAPI definition

    The static OpenAPI specification in openapi.json can be regenerated from code using tools/dump_openapi_spec.sh which requires the csep_api container to be running locally with the default settings.

    Example request data

    Look into tests/sample_requests/.

    License

    The contents of this repository are licensed under Mozilla Public License version 2.0 (MPL 2.0) as attached in the LICENSE file and copyright 2022 7bulls.com.