Spaces:
Sleeping
Sleeping
Aniket Mishra
feat: add Codespaces auto-start configuration (.devcontainer) to run server automatically on boot
6832e37 Download .devcontainer/devcontainer.json from pwVP/Drive2Youtube: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/pwVP/Drive2Youtube/resolve/main/.devcontainer/devcontainer.json
- Command line
-
hf download hf://spaces/pwVP/Drive2Youtube/.devcontainer/devcontainer.json
-
curl -L -o devcontainer.json https://huggingface.co/spaces/pwVP/Drive2Youtube/resolve/main/.devcontainer/devcontainer.json
400 Bytes
| { | |
| "name": "Drive to YouTube Uploader", | |
| "image": "mcr.microsoft.com/devcontainers/javascript-node:20", | |
| "forwardPorts": [3000], | |
| "portsAttributes": { | |
| "3000": { | |
| "label": "Drive to YouTube Web App", | |
| "onAutoForward": "openBrowser", | |
| "visibility": "public" | |
| } | |
| }, | |
| "postCreateCommand": "npm install", | |
| "postStartCommand": "nohup node server.js > /tmp/server.log 2>&1 &" | |
| } | |