Spaces:
Sleeping
Sleeping
|
Download HF_DEPLOY.md from gdukens/QuantLib_Pro: direct link, hf CLI and curl.
- Browser
- Download file 809 Bytes
-
https://huggingface.co/spaces/gdukens/QuantLib_Pro/resolve/main/HF_DEPLOY.md
- Command line
-
hf download hf://spaces/gdukens/QuantLib_Pro/HF_DEPLOY.md
-
curl -L -o HF_DEPLOY.md https://huggingface.co/spaces/gdukens/QuantLib_Pro/resolve/main/HF_DEPLOY.md
809 Bytes
| # Hugging Face Space Deploy Steps | |
| ## 1) Initialize repo in this folder | |
| ```powershell | |
| git init | |
| git add . | |
| git commit -m "Initial HF Space deploy" | |
| git branch -M main | |
| ``` | |
| ## 2) Connect to your Space Git remote | |
| Replace `YOUR_SPACE_GIT_URL` with the URL shown in your Space (Clone button). | |
| ```powershell | |
| git remote add origin YOUR_SPACE_GIT_URL | |
| git push -u origin main | |
| ``` | |
| ## 3) Configure Space secrets | |
| In Space Settings -> Variables and secrets, add: | |
| - `FRED_API_KEY` | |
| - `ALPHA_VANTAGE_API_KEY` | |
| ## 4) Verify build logs | |
| Open your Space logs and confirm: | |
| - dependencies install successfully | |
| - Streamlit starts successfully | |
| - app loads without import errors | |
| ## Notes | |
| - This bundle contains only deploy-relevant code. | |
| - Keep this folder as your deployment mirror and sync from your private repo when needed. | |