Download start_frontend.sh from CodeByBB/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/CodeByBB/anycoder/resolve/main/start_frontend.sh
- Command line
-
hf download hf://spaces/CodeByBB/anycoder/start_frontend.sh
-
curl -L -o start_frontend.sh https://huggingface.co/spaces/CodeByBB/anycoder/resolve/main/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 | |