Project development workflow¶
Cloning the repository¶
git clone https://github.com/smkent/bdbox
cd bdbox
Run poe setup in new repository clones to:
- Enable git hooks
- Install UI dependencies via
npm(To update, runpoe setupagain ornpm install) - Install Playwright UI testing browser packages
(To update, run
poe setupagain orplaywright install) - Build static UI assets
(To build again, run
poe staticorpoe dev)
poe setup
Development tools¶
poe dev: Watch and automatically rebuild static UI assets on changespoe lint: Run formatters and static checkspoe static: Build static UI assetspoe test: Run backend testspoe webtest: Run frontend tests
The lint and test tasks can also be run as a single combined command with:
poe lt
Test snapshots¶
Some tests compare test results with saved snapshots. Test snapshots can be updated by running:
poe snapup
Documentation server¶
Start the development server with:
poe docs
The documentation site will be served at:
To use a different bind host/port, run poe --help docs for arguments info.