How do people become good at something ? By doing it regularly, right ? That's why this project aims to help all the students in practicing programming regularly by maintaining a leaderboard. The website will be have 6 different leaderboards
pnpm
, To obtain installation instructions for the pnpm package manager on your operating system, please refer to the following link.python3.7
python3 -m venv <ENVIRONMENT_NAME>
source <ENVIRONMENT_NAME>/bin/activate
make
sudo apt update
sudo apt install make
xcode-select --install
Project Settings > Database
Leaderboard-Pro > api > leaderboard > settings.py
, scroll down to DATABASES
variable and change the NAME
, USER
, PASSWORD
, HOST
and PORT
as on the Supabase Database page. make install
make dev
Docker provides a consistent and isolated environment for running the Leaderboard project, ensuring that it works the same way on every machine. Follow these steps to get the application up and running with Docker:
Clone the repository (if you haven't already):
git clone https://github.com/your-username/Leaderboard-Pro.git
cd Leaderboard-Pro
Build the Docker image:
docker build -t leaderboard-pro .
This command builds a Docker image named leaderboard-pro
based on the instructions in the Dockerfile.
To start the application in a Docker container, run:
docker run -p 8000:8000 -p 3000:3000 leaderboard-pro
This command starts the Docker container and maps the ports so that you can access the Django backend at http://localhost:8000/
and the React frontend at http://localhost:3000/
.
Visit the URLs in your web browser to interact with the application:
Ctrl+C
in the terminal where the container is running. Alternatively, you can stop the container from another terminal using the docker stop
command with the container ID.