Skip to content

Repository files navigation

Battle Standard

Scene-deck VTT tracker for D&D 5e — grid, tokens, fog, ruler, and optional Save Helper for disk backups.

Local development

npm install
npm run dev

Open http://localhost:5173 (or npm run dev:host for LAN access).

Save Helper (optional)

Save campaigns to a folder on your computer via extension + native host + one-time setup. See companion/README.md for install steps, troubleshooting, and E2E checklist.

Quick start (dev):

npm run companion:tray:build
npm run companion:extension:build:firefox
npm run companion:tray:start   # one-time setup

Run all companion tests:

npm run test:companion

Publish to GitHub Pages

This repo deploys automatically to GitHub Pages when you push to main or master.

Live URL: https://<your-github-username>.github.io/battle-standard/

One-time setup

  1. Create a GitHub repository named battle-standard (must match site.config.ts exactly, including case).

  2. Push this project to the repo:

    git init
    git add .
    git commit -m "Initial commit"
    git branch -M main
    git remote add origin https://github.com/<your-github-username>/battle-standard.git
    git push -u origin main
  3. On GitHub, open Settings → Pages and set Build and deployment → Source to GitHub Actions.

The deploy workflow builds with VITE_BASE_PATH=/battle-standard/ and publishes the dist folder.

Different repo name

If your GitHub repo slug is not battle-standard, update both:

Then push again; the workflow will redeploy.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages