|
1 | 1 | [](https://github.com/qwc-services/qwc-map-viewer/actions)
|
2 |
| -[](https://hub.docker.com/r/sourcepole/qwc-map-viewer-demo) |
| 2 | +[](https://hub.docker.com/r/sourcepole/qwc-map-viewer) |
3 | 3 |
|
4 | 4 | QWC Map Viewer
|
5 | 5 | ==============
|
6 | 6 |
|
7 |
| -Provide a [QWC2 Web Client](https://github.com/qgis/qwc2-demo-app) application using QWC services. |
| 7 | +Provide a [QWC2 Web Client](https://github.com/qgis/qwc2) application using QWC services. |
8 | 8 |
|
9 | 9 | **Note:** Requires a QWC OGC service or QGIS server running on `ogc_service_url`. Additional QWC Services are optional.
|
10 | 10 |
|
11 | 11 |
|
12 | 12 | Setup
|
13 |
| ------ |
| 13 | +-------------------------- |
14 | 14 |
|
15 |
| -Copy your QWC2 files from a production build (see [QWC2 Quick start](https://github.com/qgis/qwc2-demo-app/blob/master/doc/src/quick_start.md)): |
| 15 | +Copy your QWC2 files from a production build: |
16 | 16 |
|
17 |
| - SRCDIR=path/to/qwc2-app/prod/ DSTDIR=$PWD |
| 17 | + SRCDIR=path/to/qwc2/prod/ DSTDIR=$PWD |
18 | 18 | mkdir $DSTDIR/qwc2 && mkdir $DSTDIR/qwc2/dist
|
19 | 19 | cd $SRCDIR && \
|
20 | 20 | cp -r assets $DSTDIR/qwc2 && \
|
@@ -109,11 +109,11 @@ Additional user info fields may be read from the JWT identity by setting `user_i
|
109 | 109 | ```
|
110 | 110 | These will be added as `user_infos` in the `config.json` response if present in the current identity.
|
111 | 111 |
|
112 |
| -`qwc2_config` contains the QWC2 application configuration, with `config` corresponding to the contents of your standalone `config.json` file (see [Documentation](https://github.com/qgis/qwc2-demo-app/blob/master/doc/src/qwc_configuration.md#application-configuration-the-configjson-and-jsappconfigjs-files)). |
| 112 | +`qwc2_config` contains the QWC2 application configuration, with `config` corresponding to the contents of your standalone `config.json` file (see [Documentation](https://qwc-services.github.io/master/configuration/ViewerConfiguration/#load-time-configuration-configjson)). |
113 | 113 |
|
114 | 114 | `qwc2_themes` contains the full themes configuration, corresponding to the contents of your standalone `themes.json` collected from `themesConfig.json`.
|
115 | 115 |
|
116 |
| -Add new themes to your `themesConfig.json` (see [Documentation](https://github.com/qgis/qwc2-demo-app/blob/master/doc/src/qwc_configuration.md#theme-configuration-qgis-projects-and-the-themesconfigjson-file)) and put any theme thumbnails into `$QWC2_PATH/assets/img/mapthumbs/`. |
| 116 | +Add new themes to your `themesConfig.json` (see [Documentation](https://qwc-services.github.io/master/configuration/ThemesConfiguration/)) and put any theme thumbnails into `$QWC2_PATH/assets/img/mapthumbs/`. |
117 | 117 | The `themesConfig.json` file is used to collect the full themes configuration using GetProjectSettings.
|
118 | 118 |
|
119 | 119 | Optional settings for restricted themes:
|
@@ -245,22 +245,18 @@ Docker images
|
245 | 245 | -------------
|
246 | 246 |
|
247 | 247 | The following Docker images are available:
|
248 |
| -* `sourcepole/qwc-map-viewer-base`: Map viewer service |
249 |
| -* `sourcepole/qwc-map-viewer-demo`: Map viewer service with qwc-demo-app viewer |
| 248 | +* `sourcepole/qwc-map-viewer`: Map viewer service with stock qwc2 application |
| 249 | +* `sourcepole/qwc-map-viewer-base`: Map viewer service to use with a custom qwc2 application |
250 | 250 |
|
251 | 251 | Dependencies:
|
252 | 252 |
|
253 | 253 | git repos Docker images
|
254 | 254 |
|
255 | 255 | ┌───────────────┐
|
256 |
| - │ qwc2 │ |
257 |
| - └───────┬───────┘ |
258 |
| - │submodule |
259 |
| - ┌───────▼───────┐ |
260 |
| - │ qwc-demo-app ├────────────┐ |
261 |
| - │ config.json│ CI Build │ |
| 256 | + │ qwc2 ├────────────┐ |
| 257 | + │ config.json │ CI Build │ |
262 | 258 | └───────────────┘ ┌─────▼───────────────┐
|
263 |
| - ┌──► qwc-map-viewer-demo │ |
| 259 | + ┌──► qwc-map-viewer │ |
264 | 260 | ┌───────────────┐ │ └─────────────────────┘
|
265 | 261 | │ qwc-map-viewer├───┤
|
266 | 262 | └───────────────┘ │ ┌─────────────────────┐
|
@@ -289,9 +285,9 @@ Those services can be found under https://github.com/qwc-services/. The followin
|
289 | 285 |
|
290 | 286 | **Step 3: Choose between a version of the qwc-map-viewer**
|
291 | 287 |
|
292 |
| -#### qwc-map-viewer-demo |
| 288 | +#### qwc-map-viewer |
293 | 289 |
|
294 |
| -This is the demo version used in the `docker-compose-example.yml` file. With this version, the docker image comes with a preinstalled version of the latest qwc2-demo-app build and the python application for the viewer. Use this docker image, if you don't have your own build of the QWC2 app. |
| 290 | +This is the stock version used in the `docker-compose-example.yml` file. With this version, the docker image comes with a preinstalled version of the latest qwc2 stock application build and the python application for the viewer. Use this docker image, if you don't have your own build of the QWC2 app. |
295 | 291 |
|
296 | 292 | #### qwc-map-viewer-base
|
297 | 293 |
|
|
0 commit comments