- Move/upgrade from depstar to tools.build
- Properly setup static resouces with cache-busting; wrap-resource in
leihs.inventory.server.swagger-api, see exemplary use of
leihs.core.http-cache-buster2
in leihs-admin; - Deliver SPA depending on accept headers, see leihs-admin
- Add container build test; see leihs-admin
- Add deploy role in this repository, madek-api-v2 for example
bin/dev-run-backend
Install and start:
bin/dev-run-frontend
For a quicker start when already installed before:
npm run dev
npx i18next-locales-sync -p de -s fr es en -l resources/public/inventory/static/locales/ --spaces 2 --useEmptyString true
Use ./bin/cljfmt check
and ./bin/cljfmt fix
.
From vim you can use :! ./bin/cljfmt fix %
to format the current file.
Use standardrb
and standardrb --fix
.
See ./bin/build
./bin/build
scp leihs-inventory.jar <user>@<server>:/leihs/inventory/leihs-inventory.jar
systemctl restart leihs-inventory.service