- a PostgreSQL database with the postgis and uuid-ossp extensions installed
- Lizmap Web Client 3.6 or above
- into
lizmap/my-packages
, create the filecomposer.json
(if it doesn't exist) by copying the filecomposer.json.dist
, and install the modules with Composer:
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "lizmap/lizmap-import-module"
If you are using Lizmap Web Client 3.6 or higher, execute
php lizmap/install/configurator.php import
It will ask you all parameters for the PostgreSQL database access, and also:
-
The name of the PostgreSQL role that need to be granted with write access on the tables in the PostgreSQL schema
lizmap_import_module
(that will be created by the module installation script). -
Then, execute Lizmap install scripts into
lizmap/install/
:
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh
Then a new schema lizmap_import_module
must be visible in your PostgreSQL database, containing the needed
tables and functions used by the module.