Have you installed the postgis extension yet? I did this and managed to download, unzip, import 2.30
but I do not know how to point the localhost:8080 to this database rather than the DHIS2 database. I tried to change the database name in the dhis.conf file but this just took me back to the 404 error.
@usfreak13 Note that you will need to have postgis extension created in the database BEFORE you import the sample db into it.
To install postgis check this link https://postgis.net/install/ .- it has installers for various platforms. After you have installed postgis, you need to enable the extension in a specific database. For that you need to execute CREATE EXTENSION POSTGIS; in the database in which you wish to import the samle demo data.
To verify postgis is installed and extension is created in the database, you can execute SELECT POSTGIS_FULL_VERSION(); in the db. If you get some result (any result rather than an exception), then everything is ok so far.
Once you have verified, you can proceed to importing the sample demo data into this database. Let us know how it goes.
Thank you Rahul for it was your journey to installing dhis2 that helped me along too a s I pored over all of the conversations.
Please how did you permanently keep the dhis2 instance on your system.
I have to manually install it every time and it is tiring.Thanks
(AL-Gassim Sharaf Addin)
split this topic