Financial Assurance Module
  • Financial Assurance Module Documentation
  • INTRODUCTION
    • Glossary / Terminology
    • FAQ
    • Releases / Changelog*
    • Report an Issue / Contact us
  • PRODUCT / END-USER DOCUMENTATION
    • Overview
      • User roles and permissions
    • Financial Assurance Module Navigation
    • Overall User Interface
    • Engagements section
      • Creation of Engagement
      • Reporting of Engagement
      • Submitting of Engagement
      • Finalize the Engagement
      • Export of Engagement
      • Cancellation of Engagement
    • Staff Spot Checks section
    • FAM workflow
  • TECHNICAL DOCUMENTATION
    • Architecture
    • Development Setup
    • Deployment / DevOps
    • Backend Module structure
    • Data Model
    • Fixtures & management commands
    • Integration with permissions framework
    • Interaction with VISION
    • API Documentation
      • Error Handling
    • 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 FAM application. There is difference beetwen building module for development or production. Details of realisation specific gulp tasks you can find 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 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 temporary copy bower components to src directory to allow the Polymer to resolve necessary dependencies, build elements and use Polymer project.merge(source, dependencies) task function to combine code.

PreviousModule structureNextTests

Last updated 6 years ago