Prerequisites

Before you start, make sure you:

1

Retrieve database credentials

You will need an existing database to continue. If you don’t have one, create one.

Get the database URL:

turso db show --url <database-name>

Get the database authentication token:

turso db tokens create <database-name>

Assign credentials to the environment variables inside .env.

TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
You will want to store these as environment variables.
3

Set up a Linode server

Configure and create a new linode. Then, set up SSH authentication to securely access the Linode server from your terminal.

Prepare the newly created linode server environment by accessing and set it up for Rust/JavaScript development depending on the project you forked earlier. Install and set up Git too.

4

Transfer project to Linode server

SSH into your server, clone the project from GitHub, and follow its README instructions to set it up.

5

Deploy

Build, run the project, and set up load balancing for it. pm2 is one of the good candidates out there with built-in load balancing, log monitoring, and bug/exception alerts.

You can go with your favorite options for where to buy domains, reverse proxy setup, and SSL certificates. Caddy is another good option here.