qgis-geojson-exporter/README.md

56 lines
1.3 KiB
Markdown

## How to install the plugin for development ?
1. Make a symbolic link in the qgis python repository (on linux
this reporitoy is ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins ).
``
$ ln -s $(pwd) ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins
``
2. Create the file `resources.py`
``
$ pyrcc5 resources.qrc -o resources.py
``
That's it ! You can restart QGIS and enable the plugin using the plugin manager.
What's Next:
* Run the tests (``make test``)
* Test the plugin by enabling it in the QGIS plugin manager
* Customize it by editing the implementation file: ``web_exporter.py``
* Create your own custom icon, replacing the default icon.png
* Modify your user interface by opening WebExporter_dialog_base.ui in Qt Designer
* You can use the Makefile to compile your Ui and resource files when
you make changes. This requires GNU make (gmake)
## Use docker to test the plugin
Docker test images to test connexions.
Start containers:
```
$ docker-compose up
```
and connect with
| protocol | login | password | address | port |
|----------|-------|----------|---------|------|
| ftps | username | password | localhost | 4567 |
| sftp | foo | pass | localhost | 4522 |
Be sure all file and dirs in `test/mnt` are recursively chown with `<you_user>` and `<your_group>`