(sudo) npm install
This command will install all the dependencies of the project.
Once the installation is done, run
gulp
Export the web UI view into static HTML files
gulp build
There are two enviroments:
The development server reflects the branch defined in config/deploy/production.rb
at line 7
and it is used internally to show the progress and test it. To deploy to the development server use:
cap deploy
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
Deploy to development:
npm run deploy-dev
Deploy to production:
npm run deploy-prod