Spaces:
Paused
Paused
Download start.sh from vikarshana/ui: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/vikarshana/ui/resolve/main/start.sh
- Command line
-
hf download hf://spaces/vikarshana/ui/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/vikarshana/ui/resolve/main/start.sh
353 Bytes
| # ⚠️ This is a bad idea | |
| # PROBLEM 1: How do you get the token? | |
| # You would have to save your GITHUB_TOKEN as a plain-text HF Secret. | |
| # This is very insecure! | |
| # Or, if you already cloned in the Dockerfile, you'd do a pull: | |
| # This still needs the token to be saved as a secret. | |
| git pull origin main | |
| npm update | |
| # Then run your app | |
| npm start |