Choose a deployment guide
Find the guide for a static site, server-rendered app or HTTP API.
If your build produces HTML, CSS and JavaScript that run in the browser, start with Static sites. If your app runs code on the server for each request, find its language and framework below.
Static sites
Deploy a static site for a React, Vue or Angular frontend. The guide covers the build output, serving files and making links work when someone refreshes a page. Already have plain HTML? Deploy the folder containing index.html. For Astro, the Astro guide explains both static and server output.
Server apps
| Language | Deployment guides |
|---|---|
| C# | ASP.NET Core |
| Go | Go HTTP servers |
| Java | Java and Spring Boot |
| JavaScript and TypeScript | Astro, Express, Fastify, NestJS, Next.js, Nuxt, SvelteKit, TanStack Start |
| PHP | PHP and Laravel |
| Python | Django, FastAPI, Flask |
| Ruby | Ruby and Rails |
| Rust | Rust HTTP servers |
If your stack isn't listed
Start with deploying a source folder. For a server app, listen on 0.0.0.0 and the port in PORT (default 3000). Choose a health path that returns HTTP 200. Use a root Dockerfile when you want to supply the build and start commands, or deploy an image from CI.
Starting a project from scratch? Run smolcloud templates to see the available starters.