Hosting guides
Host it, whatever it’s built with.
The start command, port, dependency file and common mistakes for each framework assistants like to write.
Host a Flask appPython. gunicorn --bind 0.0.0.0:$PORT app:appHost a FastAPI appPython. uvicorn main:app --host 0.0.0.0 --port $PORTHost a Django appPython. gunicorn config.wsgi --bind 0.0.0.0:$PORTHost a Streamlit appPython. streamlit run app.py --server.port $PORT --server.address 0.0.0.0 --server.headless trueHost a Gradio appPython. python app.pyHost a Express appNode.js. node server.jsHost a Next.js appJavaScript and TypeScript. next start -p $PORTHost a Vite and React appJavaScript and TypeScript. vite preview --host 0.0.0.0 --port $PORTHost a SvelteKit appJavaScript and TypeScript. node buildHost a Astro appJavaScript and TypeScript. node ./dist/server/entry.mjsHost a Nuxt appJavaScript and TypeScript. node .output/server/index.mjsHost a Remix and React Router appJavaScript and TypeScript. npm start (serves the build output)Host a Ruby on Rails appRuby. bundle exec puma -C config/puma.rbHost a Go appGo. ./app (built with go build -o app)