- Download Bun runtime (bun.sh)
- Install dependencies
bun install- Install the workspace recommended extension (eslint extension) in vscode.
This makes the code autoformat on save according to eslint / prettier rules and auto fixes other warnings on save
- Run
bun devin a terminal. This will start a local development server and hot-reload changes.
bun run buildCopy the contents of target directory to the web server.
To add new generation, add the usernames to src/data/loyalists.ts, display names to src/data/displayNames.ts and the profile pictures to pfp. Then run
bun run generate-pfpThis will make smaller versions of the profile pictures and it also ensures that every loyalist has a profile picture and display name.