Skip to content

Railway

Introduction

Here’s how to easily deploy this app:

  • Sign up at Railway.
  • Click 'New Project' and select 'Node.js'.
  • Create a Redis DB or other (Optional)
  • Connect your GitHub repository
  • Set your environment variables
  • Deploy your application.
  • Register an ENS domain and share your app!

Deployment

  1. Sign Up and Setup: Create an account at Railway and start a new empty project.

  1. Database (Optional): Optionally, right click to add a Redis database to your project.

  • Get the redis connection string

Add the variable to the env editor in Railway.

.env
KEY= # 0x... the private key of the bot wallet (with the 0x prefix)
REDIS_CONNECTION_STRING= # the connection string for the Redis database
  1. Repository: Connect your GitHub repository where your app code resides and deploy the repo.

  1. Environment Variables: Set up environment variables in Railway.