Action Point Dashboard
  • Action Point Dashboard Documentation
  • INTRODUCTION
    • Glossary / Terminology
    • FAQ
    • Releases / Changelog*
    • Report an Issue / Contact us
  • PRODUCT / END-USER DOCUMENTATION
    • Overview
      • Objectives
      • User roles and permissions
    • Action Points Dashboard Navigation
    • Overall User Interface
    • List of Action Points
    • Action Points Workflow
    • Action Points
      • Creation of Action Point
      • Modification of Action Point
      • Completion of Action Point
      • Additional options for Action Point
    • Connections to other modules
      • Overview
      • Action Points in FAM
      • Action Points in Field Monitoring
      • Action Points in TPM
      • Action Points in Trip Management (T2F)
  • TECHNICAL DOCUMENTATION
    • Architecture
    • Development Setup
    • Deployment / DevOps
    • Data Model
    • Fixtures & management commands
    • API Documentation
      • Error Handling
    • Backend module structure
    • Integration with permissions framework
    • Frontend
      • Module structure
      • Build process
      • Tests
Powered by GitBook
On this page
  • Development
  • Production
  1. TECHNICAL DOCUMENTATION
  2. Frontend

Build process

You can use Gulp comands to build the Action Points Dashboard application. There is difference beetwen building module for development or production. You can find details on the realisation specific gulp tasks in gulp-tasks/ directory.

Development

Use the following command to build an application for development:

gulp devup

This comand will run several gulp tasks. It will clean destenation directory, build source files using polytempl, babel and other plugins, copy necessary assets and bower components. Then it will run node server by executing express.js file and start watching changes in application source files.

Production

You can call default gulp task or use prodBuild task to build an application in the production environment.

gulp 

or

gulp prodBuild

In this case Polymer gulp tasks will be used to combine all components into a single file. Also all code will be minifyed. At first it will clean destenation directory, than pre-build project with polytempl in separate directory, build elements using Polymer tools, remove pre-builded elements.

PreviousModule structureNextTests

Last updated 6 years ago