Quickstart
Get the full Rayos stack running on your machine in under 10 minutes.
Prerequisitesβ
Before you start, make sure you have these installed:
| Tool | Version | Install |
|---|---|---|
| Node.js | v20+ | nodejs.org |
| pnpm | v9.x | npm install -g pnpm@9 |
| Rust | Latest stable | rustup.rs |
| Docker | Latest | docker.com |
| Git | Latest | git-scm.com |
Step 1 β Clone All Reposβ
mkdir rayos && cd rayos
git clone https://github.com/Rayos-Org/wallet-contracts.git
git clone https://github.com/Rayos-Org/wallet-sdk.git
git clone https://github.com/Rayos-Org/relay-backend.git
git clone https://github.com/Rayos-Org/web-dashboard.git
You don't need all repos at once. If you're only contributing to one part, just clone that repo.
Step 2 β Start the Relay Backendβ
The relay backend is the first service to start β everything else depends on it.
cd relay-backend
pnpm install
cp .env.example .env
# Start PostgreSQL + Redis
docker-compose up -d
# Push database schema
pnpm db:push
# Start dev server
pnpm start:dev
β
Relay is running at http://localhost:3000
π Swagger API docs at http://localhost:3000/api/docs