Spaces:
Running
Running
Download start_frontend.sh from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/c8820b903d50d5274a871c743e297b7b5db150aa/start_frontend.sh
- Command line
-
hf download hf://spaces/akhaliq/anycoder@c8820b903d50d5274a871c743e297b7b5db150aa/start_frontend.sh
-
curl -L -o start_frontend.sh https://huggingface.co/spaces/akhaliq/anycoder/resolve/c8820b903d50d5274a871c743e297b7b5db150aa/start_frontend.sh
349 Bytes
| # Start the Next.js frontend | |
| echo "Starting AnyCoder Frontend..." | |
| echo "Frontend will be available at: http://localhost:3000" | |
| echo "" | |
| cd frontend | |
| # Install dependencies if node_modules doesn't exist | |
| if [ ! -d "node_modules" ]; then | |
| echo "Installing dependencies..." | |
| npm install | |
| fi | |
| # Start the development server | |
| npm run dev | |