Field Monitoring
1.0.0
1.0.0
  • Field Monitoring Module Documentation
  • INTRODUCTION
    • Glossary / Terminology
    • FAQ
    • Report an Issue / Contact us
  • PRODUCT / END-USER DOCUMENTATION
    • Overview
      • User roles and permissions (?)
    • Field Monitoring Module Navigation
    • Overall User Interface
    • Settings section
      • Adding and Editing Questions
      • Sites Management
    • Plan section
      • Building the Rationale For the Monitoring Activity
      • Logging Known Issues
      • Prestructuring Field Monitoring Activities
    • Collect section
      • Activities Overview
      • Drafting a Monitoring Activity
      • Checklist / Questionnaire Setup
      • Checklist Review
      • Assigning / Accepting / Rejecting a Visit
      • Data Collection
      • Report Finalization
      • Submission / Completing a Monitoring Activity
    • Analyze section
      • Monitoring Activity
      • Country Overview
    • FMM workflow (?)
  • TECHNICAL DOCUMENTATION
    • Architecture
    • Development Setup
    • Deployment / DevOps
    • Data Model
    • Fixtures and Management Commands
    • Integration with permissions framework
    • API Documentation
      • Error Handling
    • Frontend
      • Module Structure
      • Build Process
Powered by GitBook
On this page
  • Development
  • Production
  1. TECHNICAL DOCUMENTATION
  2. Frontend

Build Process

You can use Gulp commands to build or serve the FM application. There is difference between building module for development or production. Details of specific gulp tasks you can find in gulp.js file. Also you can find all executable commands in scripts block in package.json file.

Development

Use the following command to build and serve an application for development:

gulp serve

This command will compile typescript code to javascript and run polymer server.

Production

For production build you can call

npm run build
PreviousModule Structure

Last updated 5 years ago