Recipe
Railway Deploy Primer
Ship Meridian to Railway in under five minutes with zero cold starts and automatic HTTPS.
Prerequisites
- A Railway account (GitHub sign-in supported)
- Your Meridian project pushed to a GitHub repo
- Environment variables ready (see .env.example)
Step 1 — New Project
From the Railway dashboard, click New Project → Deploy from GitHub repo and select your Meridian repository.
Step 2 — Configure
Railway auto-detects Next.js. Set the build command to npm run build and start command to npm start. Paste your environment variables under the Variables tab.
Step 3 — Deploy
Railway builds and deploys automatically. Once the deploy finishes, click Generate Domain under Settings → Networking to get your public HTTPS URL.
Custom Domain
Add your domain under Settings → Custom Domains. Point your DNS CNAME record to the Railway-provided domain. SSL certificates are provisioned automatically via Let's Encrypt.
Need help? Check the full documentation or reach out on Discord.