Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.22 KB

File metadata and controls

46 lines (31 loc) · 1.22 KB

Coding Lab

Build

  1. Clone the repository
$ git clone https://github.com/abiriadev/coding-lab
  1. Install the dependencies
$ corepack enable
$ pnpm install
  1. Build each application
$ pnpm turbo build
  1. Build the docker image for backend.
$ docker build -t coding-lab -f ./apps/backend/Dockerfile ./apps/backend/

Deploy

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

License

GitHub