Files
AeroPkg/assets/var/gnu/unitprint/web-app.md

34 lines
545 B
Markdown
Raw Permalink Normal View History

2026-09-10 16:59:11 +03:00
unitprint/web-app
=
ssh://git@root-kit.ru:17458/UnitPrint/web-app.git
2026-09-12 08:31:33 +03:00
``` env *** env ***
save_source
```
``` sh *** patch ***
npm install
```
2026-09-10 16:59:11 +03:00
``` sh *** build ***
git pull || true
npm install
npm run build
rm -rf ../dist
cp -rPl dist ..
```
``` sh *** config ***
rm -f src/.aeropkg.applied-build
2026-09-12 08:31:33 +03:00
rm -f build-script.md
chmod o+x /pkg/gnu/unitprint
chown -R nginx:nginx /pkg/gnu/unitprint/web-app/dist
nginx -s reload
2026-09-10 16:59:11 +03:00
```
``` sh *** init ***
cd src
npm create vite@latest . -- --template svelte --no-interactive --overwrite
npm install
```