Adding wrolpi-app-dev which runs frontend in dev mode.
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run

This commit is contained in:
Roland 2025-12-18 18:01:45 -07:00
parent 7e9e815bf6
commit a02c47cfa1
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
4 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=WROLPi React APP (Development)
Wants=wrolpi-api.service
PartOf=wrolpi.target
Conflicts=wrolpi-app.service
[Service]
Environment=PORT=3000
ExecStart=/usr/bin/npm start
Group=wrolpi
User=wrolpi
WorkingDirectory=/opt/wrolpi/app/
Nice=6
[Install]
WantedBy=default.target

View file

@ -2,6 +2,7 @@
Description=WROLPi React APP
Wants=wrolpi-api.service
PartOf=wrolpi.target
Conflicts=wrolpi-app-dev.service
[Service]
# Use explicit `serve.json` so `epub.html` is not lost.