- Clone the repository
$ git clone https://github.com/abiriadev/coding-lab
- Install the dependencies
$ corepack enable
$ pnpm install
- Build each application
$ pnpm turbo build
- Build the docker image for
backend
.
$ docker build -t coding-lab -f ./apps/backend/Dockerfile ./apps/backend/
Provide the following environment variables:
Variable | Required | Description |
---|---|---|
INIT_ADMIN_EMAIL |
true |
The email address of the initial admin user |
INIT_ADMIN_PASSWORD |
true |
The password of the initial admin user |
APP_NAME |
false |
The name of the application |
DISCORD_OAUTH_CLIENT_ID |
true |
The client ID of the Discord OAuth application |
DISCORD_OAUTH_CLIENT_SECRET |
true |
The client secret of the Discord OAuth application |