The repo for sellswordsoftware.com.
This site is a static vanilla JS SPA built to exercise Sellsword's own stack directly:
vendor/nafis a git submodule for routing and UI compositionvendor/nassis a git submodule for theme and primitive CSSesbuildbundles the site into plain static assets indist/
Clone the repo with submodules:
git clone --recurse-submodules https://github.com/SellswordSoftware/website.git
cd website
npm installIf you already cloned without submodules:
git submodule update --init --recursiveRun the full local workflow:
npm run devThat starts:
- the
esbuildwatcher - the built-in static server
Default local URL:
http://127.0.0.1:43556
Override the host or port if needed:
DEV_HOST=0.0.0.0 DEV_PORT=8080 npm run devOther useful commands:
npm run build
npm run dev:build
npm run dev:serve
npm run previewThe website intentionally references naf and nass as real git submodules so you can:
- use them directly in this repo
- edit them in place while building the site
- commit changes in the upstream library repos when needed
- update the pinned submodule commit in this repo explicitly
Common commands:
git submodule status
git -C vendor/naf status
git -C vendor/nass status
git -C vendor/naf checkout main
git -C vendor/nass checkout main
git submodule update --remote --mergeWhen you change a submodule and commit inside it, record the new pinned commit in the website repo:
git add vendor/naf vendor/nass
git commit -m "Update naf and nass submodule refs"Production assets are written to dist/.
The repo serves from the project root during development so index.html stays top-level and references ./dist/main.js and ./dist/main.css, which keeps local structure close to static hosting.