Hi Dominic, When installing Postgres, did you also run "StackBuilder" to install Postgis? -Alexei
Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Wed, Jul 1, 2015 at 12:31 PM, Adam Cox <[email protected]> wrote: > Hi Dominic, are you using Ubuntu, and did you use the > ubuntu_trusty_setup.sh script to install the dependencies? I ask because I > had exactly the same issue at first, and realized that it was because the > commands in this > <https://bitbucket.org/arches/arches3/raw/b295633aec4d5b3bb7cba10d439a43648ce75701/arches/install/ubuntu_trusty_setup.sh> > ubuntu_trusty_setup.sh > script (the one linked in the documentation) that install geos and create > the postgis extension do not start with sudo, so they failed. I added sudo > to that script and ran it and then everything installed correctly. Here's > <http://www.adamcfcox.com/ubuntu_trusty_setup.sh> a link to the edited > script in case you're interested. > > Adam > > > On Wednesday, July 1, 2015 at 12:21:41 PM UTC-5, Dominic Oldman wrote: >> >> >> No matter how hard I tried I was never able to install a POSTGIS template >> despite the fact that the install said that it had. >> >> In the end I just made sure that the default postgres database had the >> GIS Extenstoin and used that as the template. It seemed to work. I just >> used the CREATE EXTENSION postgis; command >> However, I am not sure whether I have configured it correctly in the >> setting.py file. >> >> DATABASES['default']['POSTGIS_TEMPLATE'] = 'postgres' >> DATABASES['default']['PASSWORD'] = 'password' >> >> The system seems to be working. >> >> D >> >> -- > -- To post, send email to [email protected]. To unsubscribe, > send email to [email protected]. For more > information, visit https://groups.google.com/d/forum/archesproject?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Arches Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
