Skip to content

SanguPackage/site-new

Repository files navigation

Sangu.be website

Pug templates compiled to static HTML by a small Bun + TypeScript script.

Building

bun install
bun run build   # one-shot compile → ./site/

Development

bun run dev

Serves ./site/ on http://localhost:8080/, rebuilds and live-reloads on changes.

Configuration

Template locals live in ./site/api/sp-config.json. Access them in Pug as #{contributors}, etc.

Deploying

cp .env.example .env   # fill in FTP_PASSWORD
bun run deploy         # builds + SFTP uploads ./site/

See DEPLOY.md for the broader release steps.

About

Fancy new sangu.be site, now deployed at tribalwars.sangu.be

Resources

Stars

Watchers

Forks

Contributors