Download bin/dev from denise-oneill-inbox-ru/Rails-8-API-Image-Processing: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/resolve/main/bin/dev
- Command line
-
hf download hf://spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/bin/dev
-
curl -L -o dev https://huggingface.co/spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/resolve/main/bin/dev
379 Bytes
| if ! gem list foreman -i --silent; then | |
| echo "Installing foreman..." | |
| gem install foreman | |
| fi | |
| # Default to port 3000 if not specified | |
| export PORT="${PORT:-3000}" | |
| # Let the debug gem allow remote connections, | |
| # but avoid loading until `debugger` is called | |
| export RUBY_DEBUG_OPEN="true" | |
| export RUBY_DEBUG_LAZY="true" | |
| exec foreman start -f Procfile.dev "$@" | |