Conner LuzierandConner Luzier 536b183535 regions field added to aws, default to us-east-1 (#50)
* regions field added to aws, default to us-east-1

* added aws_region to post request

* no default setting on aws region

* aws_region required before saving

* no longer showing default on dropdown

Co-authored-by: Conner Luzier <connerluzier@outlook.com>
2022-04-21 13:33:04 -04:00
2021-12-13 14:18:43 -05:00
2020-04-02 17:12:06 -07:00
2020-04-02 17:12:06 -07:00
2022-04-14 14:18:28 -04:00
2021-07-21 12:37:41 -04:00
2022-04-06 08:19:56 -04:00
2022-04-14 14:14:44 -04:00

Jambonz Web Application

Deploy to Production

  1. Install pm2 globally on the server hosting this application.
  2. Copy .env to .env.local
  3. In .env.local, replace [ip]:[port] with the API's IP and port
  4. Run npm run deploy
  5. Access the web app via port 3001

NOTE: Here is what npm run deploy does:

  • Install all dependencies (npm i)
  • Build the production React application (npm run build)
  • Launch the app with pm2 (pm2 start npm --name "jambonz-webapp" -- run serve)

Alternatively, you can serve the app manually (without pm2) with npm run serve.

Updates

If there is an update to this code base, you can update the code without re-deploying.

  1. run git pull
  2. run npm run build

Development

Local server

See howto-setup-test-environment for details on how to set up a complete local test environment on your laptop.

Remote server

If you want to test against a remote server, you must specify the IP:port of the Jambonz API you will be hitting.

  1. Copy .env to .env.local
  2. In .env.local, replace [ip]:[port] with the API's IP and port
  3. npm start
  4. Access the web app via http://localhost:3001
S
Description
A simple provisioning web app for jambonz
Readme MIT
11 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 93.8%
SCSS 5.8%
HTML 0.2%
Shell 0.2%