← Back to Hub

Railway Deployment Guide

01

Railway Setup

Visit railway.com

  • Create an account or log in
  • Click "New Project" button
02

GitHub Repository

  • Create a new private repository
  • Upload your project files
  • Include your .env file
$ git push origin main
03

Link Repository

  • Click "Connect Repository"
  • Select your GitHub repo
  • Authorize Railway access
04

Configure Deployment

  • Go to Settings
  • Find Deploy section
  • Set start command:
$ python Main_bot_3.py

Version Updates

Export your current configuration:

!exportconfig
  1. Request latest version via ticket
  2. Replace current .py file
  3. Redeploy project

Import your settings:

!importconfig <json file>