Spaces:
Runtime error
Runtime error
Download .env.example from S-Dreamer/CodeCraftLab: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/spaces/S-Dreamer/CodeCraftLab/resolve/main/.env.example
- Command line
-
hf download hf://spaces/S-Dreamer/CodeCraftLab/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/S-Dreamer/CodeCraftLab/resolve/main/.env.example
1.65 kB
| # CodeCraftLab — Environment Configuration | |
| # Copy to .env and fill in values. Never commit .env to git. | |
| # -------------------------------------------------------------------------- | |
| # App | |
| # -------------------------------------------------------------------------- | |
| ENV=development # development | staging | production | |
| LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR | |
| # -------------------------------------------------------------------------- | |
| # Auth (REQUIRED) | |
| # -------------------------------------------------------------------------- | |
| SECRET_KEY=change-me-to-at-least-32-random-chars-in-production | |
| ACCESS_TOKEN_EXPIRE_MINUTES=60 | |
| # -------------------------------------------------------------------------- | |
| # Database (REQUIRED) | |
| # -------------------------------------------------------------------------- | |
| DATABASE_URL=postgresql+asyncpg://codecraftlab:password@localhost:5432/codecraftlab | |
| # -------------------------------------------------------------------------- | |
| # HuggingFace (required for Hub push) | |
| # -------------------------------------------------------------------------- | |
| HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxx | |
| MODEL_CACHE_DIR=./cache | |
| # -------------------------------------------------------------------------- | |
| # Training | |
| # -------------------------------------------------------------------------- | |
| MAX_CONCURRENT_JOBS=2 | |
| JOB_OUTPUT_DIR=./checkpoints | |
| # -------------------------------------------------------------------------- | |
| # CORS (comma-separated list for production) | |
| # -------------------------------------------------------------------------- | |
| CORS_ORIGINS=["http://localhost:3000"] | |