Open gacarrillor opened 4 months ago
Ping @m-kuhn :)
I do like the idea 👍
Note we can open an endpoint on QFieldCloud so one can directly push the credentials there.
Note we can open an endpoint on QFieldCloud so one can directly push the credentials there.
Do you mean, like:
You have 2 options:
pg_service.conf
file, select the service, and click on the (new) button Send credentials
to QFieldCloud?
Creating, setting up and even testing a PG service file might be overwhelming for end users, specially for Windows ones.
We've created a plugin to ease PG service file creation and editing. By using it, users avoid creating new files on their own and dealing with environment variables. See https://github.com/opengisch/qgis-pg-service-parser-plugin/
I'd suggest to replace the current documentation on creating and setting up a PG service file (from https://docs.qfield.org/how-to/pg-service/) by some step-by-step instructions using the plugin.
To match almost the whole QField/QFieldCloud workflow described in the aforementioned link, we can adapt/extend the plugin in two ways :
Connect
tab so that it's easy to create and test a QGIS connection via a just-created service. (Work already started, see PR)I'd be happy to both extend the plugin and update QField documentation, just let me know when to start.