Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.launchtoday.dev/llms.txt

Use this file to discover all available pages before exploring further.

This guide is coming soon. It will cover deploying the Launch backend to Railway with PostgreSQL.

What is Railway?

Railway is a modern deployment platform that makes it easy to deploy applications with:
  • One-click deploys from GitHub
  • Managed PostgreSQL databases
  • Automatic HTTPS and custom domains
  • Environment variables management
  • Auto-scaling based on traffic

Coming Soon

This guide will cover:
1

Create Railway Account

Sign up at railway.app
2

Connect GitHub Repository

Link your Launch repository to Railway
3

Add PostgreSQL Database

Provision a managed PostgreSQL instance
4

Configure Environment Variables

Set up required environment variables: - DATABASE_URL - BETTER_AUTH_SECRET - STRIPE_SECRET_KEY - etc.
5

Deploy

Push to main branch to trigger deployment
6

Run Migrations

Apply database migrations

Quick Reference

# Environment variables needed
DATABASE_URL=postgresql://...
BETTER_AUTH_SECRET=your-secret-key
BETTER_AUTH_URL=https://your-app.railway.app

# Stripe (if using)
STRIPE_SECRET_KEY=sk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...

# OAuth (if using)
GOOGLE_WEB_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
APPLE_CLIENT_ID=...
APPLE_CLIENT_SECRET=...

Resources

Railway Docs

Official Railway documentation

Railway Templates

Pre-configured templates

Full deployment guide coming soon. In the meantime, Railway’s documentation provides excellent getting-started guides.