Updated 23 November 2026
You can run a feature template on any Node host, such as a VPS with nginx, Render, Railway or Fly.io. It is not a static build, so it needs a running Node process.
Steps
- Install Node.js 24 or newer on the host.
- Copy the project to the host.
- Run
npm install. - Create
.envfrom.env.exampleand fill it in. See Accounts and database. - Set
SITE_URLto the public address, and list other addresses inSITE_HOSTS. - Set
DATABASE_URLfor your database. Use a PostgreSQL or Turso address if the host does not keep files between deploys. - Run
npm run db:migrate. - Run
npm run build. - Run
npm start. The site listens on port 3000 by default.
Reverse proxy and HTTPS
- Put a reverse proxy, such as nginx, in front of the Node process and send traffic from your domain to port 3000.
- Serve the site over HTTPS.
- Set
SITE_URLto thehttps://address.
Set IP_HEADER
IP_HEADER names the header that carries the visitor's IP address. The site uses it for rate limits.
- Behind a reverse proxy, use
x-forwarded-for. - Behind Cloudflare, use
cf-connecting-ip.
Keep your data
- With SQLite, keep the
data/folder between deploys. - Keep the folder set in
FILES_DIR, which holds uploads.
Set MAIL_PROVIDER to resend or smtp before you go live. console prints emails and sends none. See Email.
