Spaces:
Sleeping
Sleeping
Download .env.example from Taimwe/trainhub-api: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/spaces/Taimwe/trainhub-api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/Taimwe/trainhub-api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/Taimwe/trainhub-api/resolve/main/.env.example
312 Bytes
| # Copy to .env and adjust for your deployment | |
| SECRET_KEY=change-me-to-a-long-random-string | |
| ACCESS_TOKEN_EXPIRE_MINUTES=1440 | |
| DATABASE_URL=sqlite:///./trainhub.db | |
| STORAGE_DIR=./storage | |
| # Optional: your HF token to enable authenticated Hub push / increased rate limits | |
| HF_TOKEN= | |
| PUBLIC_DOMAIN=http://localhost:8000 | |