By Camille Chin Rui Bin (rui_bin_chin@u.nus.edu) and Goh Li Ting (gohliting@u.nus.edu)
Project README (Documentation for Orbital, aka CP2106)
Remember to edit customisation, i.e. MSAL policies and domain names etc
You may need to customise the email sending script for the email provider you are using.
If unclear, reference the instructions from the files in infra, espicially the Ansible playbook
- Docker
- Node.js
- Cloudflare account and domain (if using cloudflare tunnels)
Alternatively, expose caddy directly
-
Set environment variables, e.g.
MAILERCFW_API_KEY
andCLOUDFLARED_SECRET
-
In frontend folder, run
npm build
-
Back in the base folder, run
sudo -E docker compose up
Same requirements as before less the cloudflare account
cd backend
# Start database container
./setUpDB.sh
# Export env variables if needed
export APP_ENV=dev
export ...
# Start flask
flask run --debug
# Inside frontend, run
cd frontend
npm run start