|
|
|
|
@ -7,49 +7,53 @@ This is a Quick Start Guide for our QWC2 Hosting.
|
|
|
|
|
Note that each item is covered in detail in subsequent sections of this documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Log in to your control panel.
|
|
|
|
|
1. Install the QGIS Plugin.
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc2_login.png
|
|
|
|
|
.. image:: images/plugin-install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. Go to Data Sources
|
|
|
|
|
2. Launch Plugin
|
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
|
|
On the Connections page, enter the connection details for your PostGIS connection
|
|
|
|
|
Launch the plugin by going to Web > QWC2
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_service_name.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
Be sure to enter the Service name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Publish Your Project
|
|
|
|
|
3. Enter Server Information
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
You have two options for publishing your QGIS Project
|
|
|
|
|
|
|
|
|
|
Option 1: Upload Project usign control panel
|
|
|
|
|
|
|
|
|
|
Go to Data Sources > QGS and upload your QGIS Project
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_upload.png
|
|
|
|
|
Enter your credentials
|
|
|
|
|
|
|
|
|
|
1. In the QWC2 plugin, give your server a name
|
|
|
|
|
2. Enter your hostname (e.g. geo.webgis1.com)
|
|
|
|
|
3. Enter your email and password
|
|
|
|
|
4. Click Save
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
If you have created mutliple Tenants, be sure to select the Tenant for the Project.
|
|
|
|
|
Close the plugin and open it again if the Server is not visible immediately.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Option 2: Upload using QWC2_Tool Plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Select the scan directory and click "Upload Project" as shown below
|
|
|
|
|
4. Create Tenant
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
While not required, it is strongly recommended to create at least one new Tenant.
|
|
|
|
|
|
|
|
|
|
Doing so will leave the Default Tenant empty so subsequent Tenants will start cleanly.
|
|
|
|
|
|
|
|
|
|
Click Tenant on the left menu, give your Tenant and name and click Create
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. image:: images/qwc_tools_0.png
|
|
|
|
|
.. image:: images/plugin-5-create-Tenant.png
|
|
|
|
|
|
|
|
|
|
You should see a success message like below
|
|
|
|
|
|
|
|
|
|
.. image:: images/plugin-6-create-Tenant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|