Moves web files around; adds the postgres fuzzy string matching extension
This commit is contained in:
parent
d8c3362d40
commit
2cb5b140ff
@ -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
|
||||
|
||||
3
run.sh
3
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user