Railway

Railway provides infrastructure primitives with sane defaults to manage secrets, builds, and deploys. So you can start quickly and focus on your product.

Using this service, you won't have to worry about anything as it is capable of automatically reading the different packages necessary for your application to function correctly, in addition to providing you with a subdomain with HTTPS security.


Railway Step by Step

The first thing we need to do is click on start a new project and follow the steps you will find below

Start a new project

Now with your Github account linked in railway, you will be able to see the list of all your projects available for deployment, select the one corresponding to builderbot

To begin, register and click on Start a new project

Depending on whether your project requires environment variables .env, you should select Add variables or simply click on Deploy Now.

Select the GitHub project

After clicking on deploy, you will find a screen similar to the following where we can see the construction and deployment process of your project. Depending on the number of packages you have installed, this process may take approximately 4 to 10 minutes. If you see that this time has elapsed and it is still running, try refreshing the browser.

Deploying

In the settings section, you will find a section called "networking" which has the ability to generate a domain, click on this will generate a domain with an SSL certificate that will serve you to use as a webhook, API, or even a portal to scan the QR code.

HTTPS Domain

Now you have your project deployed on railway, you can repeat these steps for each bot you want to deploy.