Skip to content
mneige edited this page May 9, 2023 · 5 revisions

Angular Style Guide join chat https://gitter.im/igo2/Lobby Known Vulnerabilities

Infrastructure géomatique ouverte 2.0 (IGO2) / Open GIS Infrastructure 2.0


What is IGO?

IGO2 (for Open GIS Infrastructure - version 2.0) is a free open source Web Geospatial solution developed at first in Quebec, Canada based on Angular - Material, OpenLayers and IGO2lib. IGO2 is having multiple features, such as Web GIS viewer adapted to Desktop and Mobile and many more available at https://igo2.readthedocs.io/fr/latest/english.html. Since this project is open source, anyone can contribute as long as they share their work on the same open source LICENCE LGPL-Style. All contributors in IGO keep their property rights.


What is IGO2-Québec?

IGO2-Québec is an assembly based on IGO2 which respects the design system of the Gouvernement du Québec (for more information, check the Système de design).



Table of content (English)



Download

  • Will come shortly

Installation (for server deployment)

  • Will come shortly

Installation (for developpers)

Require:

IGO2 version Node version
> 1.5.x >= 12, <= 14
< 1.5.x >= 8, <= 11
0.x.x >= 6, <= 10
$ git clone https://github.com/infra-geo-ouverte/igo2.git
$ cd igo2

# Install dépendencies
$ npm install

# Check files and launch dev instance
# Your library changes may not be applied.
# Webpack (following npm start) no longer monitors node_modules changes. It only observes the version of the dependencies. Therefore, the
# code changes are not recompiled.
# To fix this, disable the cache with the environment variable NG_BUILD_CACHE = "false"
$ npm start
# Open your browser at http://localhost:4202/

# Build prod
$ npm run build.prod
$ npm run serve.prod
# Open your browser at http://localhost:4202/

# Doc API generation
$ npm run doc
# Open your browser at http://localhost:4220/

To run tests

$ npm test

# Check by karma
# Tests after each change
$ npm run test.watch

# code coverage (istanbul)
$ npm run coverage

# e2e (end-to-end intégration)
$ npm start
$ npm run e2e

Integration into another project

It is easy to import this project into another one hosted in any platform supporting Git. Here is the procedure:

git remote add igo2qc https://github.com/infra-geo-ouverte/igo2-quebec.git

Then, to import the code, pull from that additionnal origin and specify the branch:

git pull igo2qc master

For more details on this procedure, check Managing remote repositories.


Contribution

Before contributing, please read the guidelines, the LICENCE and the WIKI. If you have any question and want to contribute, contact the main email of IGO info(a)igouverte.org or on Gitter