Skip to content

Pewillia/fgpv-vpgf

 
 

Repository files navigation

fgpv-vpgf

Join the chat at https://gitter.im/fgpv-vpgf/fgpv-vpgf

Code Climate Issue Count

Dependency Status devDependency Status

Federal Geospatial Platform Visualiser / Visualisateur pour la Plateforme géospatiale fédérale

Getting Started

Requirements:

Running a local build:

  1. Checkout the repo
  2. Switch to the develop branch (master is for stable, released code)
  3. Run npm install to install dependencies
  4. Run npm run serve to build and launch a dev server

We use a fork and pull model for contributions, see our contributing guidelines for more details.

Gulp Tasks

Generating Local Builds

  • npm run build

    Builds development code and places it in the build directory. Performs eslint, SASS -> CSS, and babel compilation

  • npm run build -- --env.prod

    Builds production code and places it in the build directory. Performs same steps as development builds, but also places a zipped file of the build in the dist directory.

Serving Development Code

  • npm run serve

    Serves the development code. Reloads on file change.

  • npm run serve -- --env.prod

    Serves the production code. Reloads on file change.

Optional Flags

To run these flags, prefix with -- then --env. as in npm run serve -- --env.prod where prod is a flag.

  • geoLocal Replaces geoApi from npm node_module with a local geoApi repo folder located by ../geoApi

  • geoLocal="path/to/geoApi" Same as no argument geoLocal but uses the provided path to local folder

  • useMap Creates full independent source maps files for development code only. Build time will increase.

Packages

No packages published

Languages

  • JavaScript 74.6%
  • HTML 8.5%
  • CSS 8.4%
  • Smarty 7.9%
  • XSLT 0.4%
  • Shell 0.2%