This repo contains a script for setting up the COMP2521 Discourse forum.
The script creates categories and configures their descriptions and permissions.
Possible extensions include:
- Configuring templates
- Configuring other settings
npm install
Configure the categories in src/data.ts as needed.
Copy the example environment file and configure it:
cp .env.example .env
The values for COOKIE_HEADER and CSRF_TOKEN can be obtained by inspecting requests in the Network tab while creating a new category on the forum.
npm start