e6 staff stats aggregator
The following instructions are for setting up a local development environment.
- Install Node.js
The project uses Node 20 and above - Install Yarn
We use yarn instead of npm - Install PostgreSQL
This is the database we use - Install pgAdmin 4 (optional)
For easy database management
- Clone the repository
git clone https://github.com/clynamic/5-thirty.git-
Set up the Frontend
Follow the instructions in the README -
Install dependencies
yarn-
Set up your database
Create a PostgreSQL database for the project -
Set up your environment
Copy.env.exampleto.envand fill in the required values -
Start the development server
It will be available at http://localhost:3000
yarn devFor production, we recommend using our Docker setup.
-
Ensure you have Docker and Docker Compose installed.
-
Set up your environment Copy
.env.exampleto.envand fill in the required values. Database configuration can be removed, as the Docker setup includes a PostgreSQL container. -
Start the services
docker compose up -d