A simple provisioning webapp for jambonz
If you're here to contribute to the jambonz web app source code you can view our contributor readme.
pm2
globally on the server hosting this application..env
to .env.local
.env.local
, replace [ip]:[port]
with the API's IP and portnpm run deploy
NOTE: Here is what npm run deploy
does:
npm i
)npm run build
)pm2 start npm --name "jambonz-webapp" -- run serve
)Alternatively, you can serve the app manually (without pm2) with npm run serve
.
If there is an update to this code base, you can update the code without re-deploying.
git pull origin main --rebase
npm i
npm run build
You can pull the public docker image for the web app:
docker pull ghcr.io/jambonz/webapp:latest
You can run the docker image for the webapp and expose the serve port to the host:
docker run --publish=3001:3001 ghcr.io/jambonz/webapp:latest
You can build and run the docker image from the source, for example:
docker build . --tag jambonz-webapp:local
docker run --publish=3001:3001 jambonz-webapp:local