Deploy Your Own Instance

Choose between one-click cloud deployment or run it anywhere with Docker

5-10 minutes
Deploy anywhere
Database included

Railway Deployment

Fully managed cloud deployment with automatic database setup. Perfect for getting started quickly.

✓ Automatic SSL✓ Database included✓ Auto-scaling✓ Continuous deployment

Prerequisites

Before deploying, you'll need:

Email Setup Required

You'll need SMTP credentials from your email provider. For Gmail, create an app password. For other providers, use your regular email credentials or API keys.

Deploy with One Click

Click the button below to start deployment:

Deploy on Railway

This will take you to Railway to complete the setup

What happens next:

  1. Railway will ask you to sign in with GitHub
  2. You'll see a form with environment variables to fill in
  3. Fill in your business name, email settings, and Gmail app password
  4. Click "Deploy" and Railway handles everything else

Configure Your Instance

Railway will prompt you for these required settings:

Business Information

  • PT_BRAND_NAME - Your business name
  • NEXT_PUBLIC_PT_FIRST_NAME - Your first name

Email Settings

  • SMTP_HOST - Your email server (e.g., smtp.gmail.com)
  • SMTP_PORT - Usually 587 or 465
  • SMTP_USER - Your email address or username
  • SMTP_PASSWORD - Your password or app-specific password
  • EMAIL_FROM - The sender address

Railway automatically handles the database, security keys, and all other configuration.

Create Admin Account

Once deployed (takes 3-5 minutes), set up your admin account:

  1. Visit your app URL (shown in Railway dashboard)
  2. Click "Sign In" → "Register"
  3. Create an account with your email
  4. In Railway dashboard, click your postgres service → Data tab → Query, then run:
    UPDATE "User" SET role = 'admin' WHERE email = 'your-email@gmail.com';

That's it!

Your Personal Trainer Planner is now live. Sign in with your admin account to start managing clients.

Troubleshooting

Common issues and solutions

Next Steps

Your Personal Trainer Planner is ready! Here's what to do next:

Configure Your Business

  • • Add your clients
  • • Set up service types
  • • Configure pricing
  • • Schedule appointments

Optional Features

  • • Enable Google Calendar sync
  • • Set up custom domain
  • • Configure backups
  • • Add SSL certificate