diff --git a/apache.conf b/apache.conf index 71c2368..f77e328 100644 --- a/apache.conf +++ b/apache.conf @@ -8,8 +8,8 @@ DocumentRoot /var/www/html - WSGIScriptAlias /points /var/www/html/points.wsgi - WSGIScriptAlias /search /var/www/html/search.wsgi + WSGIScriptAlias /points /var/www/bikemap/points.wsgi + WSGIScriptAlias /search /var/www/bikemap/search.wsgi ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined diff --git a/run.sh b/run.sh index 5aa0409..87a0654 100755 --- a/run.sh +++ b/run.sh @@ -31,7 +31,8 @@ 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 "CREATE EXTENSION fuzzystrmatch;" + sudo -u postgres psql -d gis -c "CREATE EXTENSION pg_trgm;" 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