Skip to content

DeepBlueDynamics/SpiritAnimal

Repository files navigation

Gnosis Pilot (local stub)

This is a Quart-based stub that mirrors the auth and deployment shape of gnosis-wraith for the Deepblue Dynamics Gnois Pilot product site.

Local run (Docker)

Development (hot reload via volume mount):

docker compose -f docker-compose.dev.yml up --build

Production-style container (still uses local storage unless ENVIRONMENT is set to production):

docker compose up --build

The app listens on http://localhost:5678 by default.

Login flow (passwordless)

  • Visit /auth/login and enter your email.
  • In development, the login token and link are printed to the container console.
  • Enter the token at /auth/token or use the printed link.

API tokens are available at:

  • GET /auth/tokens (list)
  • POST /auth/tokens (create)
  • DELETE /auth/tokens/<token_id> (revoke)

Storage

  • Local development stores JSON files under ./storage/models.
  • The storage interface lives in core/storage.py and is ready for a cloud backend.

Environment variables

See .env.example for the full list. Key ones:

  • ENVIRONMENT (development/staging/production)
  • APP_DOMAIN
  • APP_DOMAINS
  • SENDGRID_API_KEY
  • SECRET_KEY

SpiritAnimal

About

Spirit Animal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors