This is a fanmade valorant application and is not in any way associated with Riot Games.
This application is using docker. You need to set up docker in your local environment.
Please make sure you got atleast Node.js v21 installed.
I would recommend using Visual Studio Code.
-
Install Docker and ensure it is running.
-
Clone the repository to your local machine.
-
Navigate to the project directory.
-
Rename
.env.example
to.env
and update your variables if needed -
Create self signed ssl files, move them to
./server/.ssh
and name themfullchain1.pem
andprivkey1.pem
-
Create a
.env.local
in./client/
and setVITE_APP_API_URL
. It should be something likehttp://localhost:1338/api
where 1338 is your backend port. -
Build and start the containers using Docker Compose:
docker compose up frontend-dev backend db -d
-
Open
http://localhost:8081
and start development. -
Right now there is no hot reloading on backend. Just rebuild container for now.
-
Install Docker and ensure it is running.
-
Clone the repository to your server.
-
Navigate to the project directory.
-
Rename
.env.example
to.env
and update your variables if needed -
Copy valid ssh files to
./server/.ssh
and name themfullchain1.pem
andprivkey1.pem
-
Build and start the containers using Docker Compose:
docker compose up frontend-prod backend db -d
Windows:
If you got git installed simply run following command inside git bash
:
openssl req -newkey rsa:2048 -nodes -keyout privkey1.pem -x509 -days 365 -out fullchain1.pem
If you changed something in your setup and you can't see changes anymore start container with --build
flag to rebuild the container.
To see container logs run one of the following commands:
docker logs valorant_randomizer-backend-1 -f
docker logs valorant_randomizer-frontend-1 -f
docker logs valorant_randomizer-db-1 -f