Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.37 KB

Host on Railway.md

File metadata and controls

53 lines (36 loc) · 1.37 KB

Hosting on Railway.app

Forking and modifying procfile

  1. Fork the repository (click me)
  2. Open Procfile and replace worker: python main.py by web: python main.py

Railway.app settings.

  1. Go to railway.app/new

  2. Select Deploy from Github repo

  3. Select the bot's repository.

  4. Select Add variables.

  5. Click on Raw Editor or add the variables one by one

  6. Let Railway deploy the bot.

  7. Once the below screen is shown then your bot has been deployed

Last step to automatically recieve updates in the bot.

  1. Go to Actions in your repository which you have forked.

  2. Enable workflows

  3. Choose Sync Upstream

  4. Enable the workflow.

  5. Run the workflow

  6. Now you are done. Enjoy Cloning :)