geosolutions-it / MapStore2-C028

Sistema Informativo Territoriale del Comune di Bolzano
Other
2 stars 8 forks source link
gis leaflet mapping mapstore2 openlayers3

Sistema Informativo Territoriale della città di Bolzano

Quick Start

Clone the repository with the --recursive option to automatically clone submodules:

git clone --recursive https://github.com/geosolutions-it/MapStore2-C028.git

Install NodeJS >= 4.6.1 , if needed, from here.

Update npm to 3.x, using:

npm install -g npm@3

Start the demo locally:

npm cache clean (this is useful to prevent errors on Windows during install)

npm install

npm start

The demo runs at http://localhost:8081 afterwards.

Read more on the wiki.

To Create a deployable war

Edit the LDAP properties file (DO NOT COMMIT CREDENTIALS) web/ldap.properties.

You can find LDAP credentials here

During the build process the credentials will be applied to geostore-spring-security.xml, so after a deploy is only necessary to check that spring-security file is properly configured

Release

MapStore update procedure:

  1. Update the project by updating the submodule to a specific stable branch, and apply the needed changes (see migration guide of MapStore).
  2. After a deploy has been tested create a new tag version.

Tag name

For test (master) the convention for the tag names is: v[major].[minor].[patch]-rc example: v1.1.5-rc

For production the convention for the tag names is: v[major].[minor].[patch] example: v1.1.5

Note: The major here represent a very big change to the application. For normal updates (e.g. New MapStore version) increase the minor version number, for a fix, increase the patchnumber.

To create a tag for test, use these steps:

git checkout master
git tag v1.1.5-rc
git push origin v1.1.5-rc

For Production use these steps:

git checkout production
git tag v1.1.5
git push origin v1.1.5