Adds search backend
This commit is contained in:
parent
1166ec0176
commit
d8c3362d40
@ -9,6 +9,7 @@
|
|||||||
DocumentRoot /var/www/html
|
DocumentRoot /var/www/html
|
||||||
|
|
||||||
WSGIScriptAlias /points /var/www/html/points.wsgi
|
WSGIScriptAlias /points /var/www/html/points.wsgi
|
||||||
|
WSGIScriptAlias /search /var/www/html/search.wsgi
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
|
|||||||
1
run.sh
1
run.sh
@ -31,6 +31,7 @@ if [ "$1" = "import" ]; then
|
|||||||
sudo -u postgres createdb -E UTF8 -O renderer gis
|
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 postgis;"
|
||||||
sudo -u postgres psql -d gis -c "CREATE EXTENSION hstore;"
|
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 geometry_columns OWNER TO renderer;"
|
||||||
sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO renderer;"
|
sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO renderer;"
|
||||||
setPostgresPassword
|
setPostgresPassword
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user