Installation

Requirements

Installation

(sudo) npm install

This command will install all the dependencies of the project.

Run the project

Once the installation is done, run

gulp

Export static assets

Export the web UI view into static HTML files

gulp build

Deploy to frontend server

There are two enviroments:

Development

The development server reflects the branch defined in config/deploy/production.rbat line 7 and it is used internally to show the progress and test it. To deploy to the development server use:

cap deploy

Production

The production frontend server contains a more stable codebase, stored in the master branch. It is important to keep this in sync with what’s stored in the dev’s repo because they will look at this frontend to understand what’s going on in the code. To deploy to the production frontend server use:

cap production deploy

Export static assets and Deploy automatically

Deploy to development:

npm run deploy-dev

Deploy to production:

npm run deploy-prod