Railway Setup
This guide covers deploying the Langwa docs site to Railway.
Create the service
- Create a new Railway project.
- Add a service connected to this repo.
- 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.