QGIS Web Client 2 (QWC2) is a modular next generation responsive web client for QGIS Server, built with ReactJS and OpenLayers.
This repository contains an example skeleton for building a custom QWC2 application based on the QWC2 stock application.
Consult the QWC2 README for information about QWC2, and further links to documentation, sample viewers, etc.
To build a custom application based on the QWC2 stock application, follow these steps:
-
Clone this repository
git clone --recursive https://github.com/qgis/qwc2-demo-app
-
Make sure the submodule is up to date
cd qwc2 git pull
-
Install dependencies
yarn install
-
Run the development server
yarn start
-
Edit
js/appConfig.js
to include your custom components
See Building a custom viewer for further information.
Please report QWC2 issues at issues.
QWC2 is released under the terms of the BSD license.