This fork is not meant for public distribution. Play with it at your own risk.
(we've made this just for our internal use.)
Not much has been added, it just contains dotenv support and our private startup scripts which hardcode env & process names.
- Create an env file for the process.
- install
pm2
globally to use startup scripts:npm install -g pm2
. - use bash for the start up scripts.
.env.blm
forbox-label-manager
..env.plm
forpackage-label-manager
.
bash ./startBoxLabelManager.sh
bash ./startPackageLabelManager.sh
- Start process:
pm2 start "bin/web.js" --name <uid>
(or use startup scripts). - Save process info:
pm2 save
. - Install startup script:
pm2 startup
(You don't need sudo for this.)
- Apparently README in the original repo is pretty off the actual implementation.
- Download latest:
/download/windows
- Autoupdater target path:
/update/${process.platform}/${app.getVersion()}
- Github Webhook target:
/refresh
- NOTE: Content Type has to be
application/json
. Default value isapplication/x-www-form-urlencoded
.
Check out the official documentation for more details.