Before proceeding with the installation, please make sure you have the following software installed on your machine:
- Set your Node.js version to the project's version
nvm use
Running this command will instruct nvm to switch to the Node.js version specified in the nvmrc file.
- Install the dependencies:
pnpm install
- Set up your environment variables
Copy the template found in the .env.example
file over to a new .env
file.
cp .env.example .env
Replace the values in the .env
file with your own configuration.
- Set up your database and cache instances:
docker-compose -f docker-compose.dev.yml up -d
- Run the migrations:
pnpm dlx prisma db push
- Start the server:
pnpm run dev