Skip to main content

Railway Setup

This guide covers deploying the Langwa docs site to Railway.

Create the service

  1. Create a new Railway project.
  2. Add a service connected to this repo.
  3. Select the Node.js environment when prompted.

Build and start commands

Use the following commands:

  • Build: npm install && npm run build
  • Start: npm run serve -- --host 0.0.0.0 --port $PORT

Environment variables

Set NODE_ENV=production. Railway will inject PORT automatically.

Deploy

Trigger a deployment and verify the service URL renders the docs site.