GithubHelp home page GithubHelp logo

ec-dev / fgpv-vpgf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fgpv-vpgf/fgpv-vpgf

0.0 1.0 0.0 1.88 MB

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

License: Other

JavaScript 78.79% HTML 8.89% CSS 12.14% Shell 0.18%

fgpv-vpgf's Introduction

fgpv-vpgf

Join the chat at https://gitter.im/fgpv-vpgf/fgpv-vpgf 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 gulp 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

Code Analysis

  • gulp vet

    Performs static code analysis on all javascript files. Runs jshint and jscs.

  • gulp vet --verbose

    Displays all files affected and extended information about the code analysis.

  • gulp plato

    Performs code analysis using plato on all javascript files. Plato generates a report in the reports folder.

Testing

  • gulp test

    Runs all unit tests using karma runner, jasmine, and sinon with phantomjs. Depends on vet task, for code analysis. Can specify additional browser to run tests in karma.config.js.

  • gulp test --coverage

    Additionally generates a test coverage report.

  • gulp test:auto

    Runs a watch to run all unit tests.

Cleaning Up

  • gulp clean

    Remove all files from the build and temp folders.

  • gulp clean-sass

    Remove all styles from the temp folder.

Styles

  • gulp sass

    Compile sass files to CSS, add vendor prefixes, and copy to the temp folder.

Serving Development Code

  • gulp serve:dev

    Serves the development code. The goal of building for development is to do it as fast as possible, to keep development moving efficiently. This task vet JS code and serves all code from the source folders and compiles SASS to CSS in a temp folder. Reload on file change.

  • gulp serve:dev --test

    Runs unit tests on file change as well.

fgpv-vpgf's People

Contributors

aleksueir avatar alyec avatar james-rae avatar cynngah avatar spencerwahl avatar alymerchant avatar glitch-bot avatar alexandreleroux avatar gitter-badger avatar bchagnon avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.