GithubHelp home page GithubHelp logo

iszmxw / jambonz-webapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jambonz/jambonz-webapp

0.0 0.0 0.0 1.99 MB

simple provisioning webapp for jambonz

License: MIT License

HTML 0.11% JavaScript 99.26% CSS 0.45% Shell 0.10% Dockerfile 0.08%

jambonz-webapp's Introduction

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

jambonz-webapp's People

Contributors

jamesnuanez avatar davehorton avatar kitajchuk avatar dependabot[bot] avatar cluzier avatar tesarm avatar akirilyuk avatar radicaldrew avatar kieronlawson avatar mattddowney avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.