RAIRlite (Single VM)
Deploying RAIR to localhost or single cloud VM.
Last updated
Deploying RAIR to localhost or single cloud VM.
Last updated
Getting up and running with RAIRprotocol is easy!
Pick where you'd like to deploy. Windows WSL, Ubuntu Local, or Ubuntu Cloud VM
Install Docker and Docker Compose
Clone/Fork our repo and run a simple docker command to deploy the entire system!
Configure Docker with your admin NFT and your own API keys (Alchemy, etc)
RAIR deploys each its services in a self-contained Docker image. If you are building RAIR from a desktop environment, you can install Docker Desktop which also adds theDocker-Compose
command line utility to your system.
If another setup is desired, you can install Docker-compose manually.
Inside the repository root is a file called .env.sample.
This template contains a list of values that are to be consumed during the build process:
Create a new file in /rair
called .env
Copy and paste the contents of .env.sample
into .env
Refer to the Backend Variables Library for help populating .env
.
It's the moment of truth. From the command line, in the repository root, run:
docker-compose -f {dockerfile.yml} up
Wait for the build to complete. (This may take a while if it's the first time as dependencies need to be downloaded)
Once successfully deployed, point the browser to the RAIRfrontend service (probably localhost:8080, or wherever you set the host in .env
).
You should see the application running!
Finally, to ensure that you are running the Minimum Viable Product, execute our MVP Test Plan.