view docs/DEVELOPMENT.md @ 3852:8acabf1f176f

client: refresh map layer sources whenever map component is mounted Because after saving configuration of morphology classbreaks changes should be visible immediately. Calling refreshLayers after saving although has no effect because the map is not shown and nothing is refreshed. So refreshing the layer sources everytime the map is mounted, seems legit, even though this results in visible loading and popping up of map features just by switching from admin to map context but I think that's ok and maybe soon everything will be merged into the map view anyway. Then refreshing the map layers can happend right after saving the config of classbreaks
author Markus Kottlaender <markus@intevation.de>
date Mon, 08 Jul 2019 17:43:48 +0200
parents 9d6ba97a31d2
children b195bc79e3e8
line wrap: on
line source

# Development

## Backend

You need a working [Go](https://golang.org/dl) build environment (1.10+).

* Install dependencies

    `sh 3rdpartylibs`

* Build

    Prerequesite: compile server
    ```
    cd cmd/gemma/
    go build
    cd ../../
    ```

* Run
    Run server with  `./cmd/gemma/gemma`

## Client

See [client/README](../client/README.md) for details.