Getting Started
Follow these simple steps and you'll be up and running in no time
Last updated
Follow these simple steps and you'll be up and running in no time
Last updated
Want to run RAIRprotocol in less than 20 minutes? Make sure you have
-Ubuntu 24.04, 8gb ram, 20gb storage on your target machine
-Root access with your username and password to run sudo
RAIRprotocol is easy to deploy with Docker and Docker Compose. See our WSL guide here to run Ubuntu on your Windows machine.
On any Ubuntu 24.04 machine first install Docker Dependencies
-First update your machine
-Then add dependencies
-Then add keys
-Update one more time
Install Docker Itself
Just one line to Install Docker!
Install Docker Compose (latest version)
-Now we need to install Compose to run our app with a single command
-then make Docker Compose executable
Git Clone our Repo!
-If you need Git run this first
-Then clone our whole repo with one command! Note this is ~500mb.
You made it! Now that Docker and Compose are installed on our Ubuntu machine.. running RAIRprotocol is a snap!
Copy env and run default compose file
-Navigate to rair-dapp directory. Should be in the main folder
-Then copy the sample environment file .env.sample to .env
-And one more time for the frontend environment variables
Starting the system
Make sure you have copied your env to both rair-dapp and rair-front first before running! If you try to run the system before copying the env your database will be corrupted. Just in case this happens you can run "sudo rm -rf dev" to delete the database, then try again.
Making sure system is up
Output of above command should list all the services in running status. For example:
Stopping the system
This command stops all running Docker images. Do this before closing your terminal to make sure everything is properly shut down.
Check logs
Run below command to check logs of any service.
Container ID can be obtained from output of sudo docker ps -a command
Remove installation
Try below command if you want to remove existing installation (docker images, docker containers, database etc.)
To pull the latest images to get the latest code use these commands
Git pull to pull the latest code
Check existing images
Delete images (paste in your image ids)
Looks like this "sudo docker rmi e776960ffc67 18eb7403282e 60e0ddd7a2ae d8f1b061718c"
Delete containers
Run the up command! You're all up to date!
Please follow our Github at https://github.com/rairprotocol star our repo and fork! See full deployment guides below.
Now that you have Docker installed, it's basically one command to run the docker compose YAML file after replacing a few API key variables in the sample.env
RAIRlite
Simplest way to run RAIRprotocol. A basic deployment that runs on localhost or a single cloud VM.
Fully functional NFT marketplace
Configurable frontend UI/UX
Metamask based
RAIRcloud
A fully-featured, secure, and scalable version for deployment to a Kubernetes-enabled cloud environment.
Filebase IPFS storage
Web3Auth powered Smart Accounts
GCP support
MongoDB Atlas Support
Hashicorp Vault support
Gasless resales
Alchemy-Powered Syncing Engine
and more!