Adds search backend

This commit is contained in:
Cory Lueninghoener 2019-12-12 22:20:34 -07:00
parent 1166ec0176
commit d8c3362d40
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
DocumentRoot /var/www/html
WSGIScriptAlias /points /var/www/html/points.wsgi
WSGIScriptAlias /search /var/www/html/search.wsgi
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

1
run.sh
View File

@ -31,6 +31,7 @@ if [ "$1" = "import" ]; then
sudo -u postgres createdb -E UTF8 -O renderer gis
sudo -u postgres psql -d gis -c "CREATE EXTENSION postgis;"
sudo -u postgres psql -d gis -c "CREATE EXTENSION hstore;"
sudo -u postgres psql -d gis -c "CREATE EXTENSION fuzzystrmatch;"
sudo -u postgres psql -d gis -c "ALTER TABLE geometry_columns OWNER TO renderer;"
sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO renderer;"
setPostgresPassword