Spaces:
Runtime error
Runtime error
Chris Wever | ONHN
Claude Sonnet 4.6
feat: PR 1 — housekeeping, store.js en print-verbeteringen
5585817 |
Download DEPLOY.md from beauforce/circular-value-chain: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/spaces/beauforce/circular-value-chain/resolve/main/DEPLOY.md
- Command line
-
hf download hf://spaces/beauforce/circular-value-chain/DEPLOY.md
-
curl -L -o DEPLOY.md https://huggingface.co/spaces/beauforce/circular-value-chain/resolve/main/DEPLOY.md
1.06 kB
| # Deployment — Hugging Face Spaces | |
| ## Space | |
| **URL:** `https://huggingface.co/spaces/beauforce/circular-value-chain` | |
| **SDK:** Docker · poort 7860 | |
| **Branch:** `main` | |
| ## Remote toevoegen | |
| ```bash | |
| git remote add hf https://huggingface.co/spaces/beauforce/circular-value-chain | |
| ``` | |
| ## Pushen | |
| ```bash | |
| # Lokale master → HF main | |
| git push hf master:main | |
| ``` | |
| ## Secrets instellen | |
| Ga naar **Space Settings → Variables and secrets** en voeg toe: | |
| | Naam | Waarde | | |
| |---|---| | |
| | `ANTHROPIC_API_KEY` | `sk-ant-...` | | |
| | `APP_PASS` | *(optioneel — leeg = geen auth)* | | |
| | `APP_USER` | *(optioneel — default: `onhn`)* | | |
| ## Grote bestanden (Git LFS) | |
| De volgende bestanden worden via Git LFS beheerd: | |
| ``` | |
| data/nhn_embeddings.npy | |
| data/kennispartners_embeddings.npy | |
| ``` | |
| Bij een fresh clone: `git lfs pull` na het clonen. | |
| ## Bouwen | |
| Na elke push naar `main` bouwt HF Spaces de Docker-container automatisch (~2-3 min). | |
| Controleer de build-logs via **Space → Logs** als de app niet opstart. | |
| ## Rollback | |
| ```bash | |
| git revert HEAD | |
| git push hf master:main | |
| ``` | |