mathieubossaert / pl-pyodk

PL/python function to interact with ODK Central server from any PostgreSQL database
GNU General Public License v3.0
8 stars 0 forks source link

VIDEO SETUPING PL-PYODK #10

Open engegui opened 1 week ago

engegui commented 1 week ago

Hi Mathieu! Tank's for pl-pyODK, it's wonderful! But, I'm having a hard time understanding on step "Set pyODK config file Edit the .template_pyodk_config.toml file and save it as .pyodk_config.toml --> .pyodk_config.toml conf file must exists in Postgresql directory (ie /var/lib/postgresql/)". Can you help me? Is there any video tutorial?

mathieubossaert commented 6 days ago

Hi engegui !

Thanks for the feedback. Are you running PostgreSQL on windows or linux ? Is your problem about the .pyodk_config.toml file itself or about where to put it on the server and rights ?

engegui commented 6 days ago

Thanks for answer. My problem is about config .pyodk_config.toml and where to put it on the server. Im runing PostgreSQL on the linux.

mathieubossaert commented 6 days ago

About the .pyodk_config.toml file, you should take a look at this : https://getodk.github.io/pyodk/#configure

And this file must be readable for the postgres user. /var/lib/postgresql should be fine and be sure to set the rights on the file :

chmod ugo+r .pyodk_config.toml