Using template0 when creating map db to avoid utf8 bug.

Fixed test_new_archive to handle platform-specific HTML formatting from BeautifulSoup.
Bumped version to 0.16.1-beta.
This commit is contained in:
Roland 2025-11-18 16:31:03 -07:00
parent ee434b3fb8
commit 398542c946
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
3 changed files with 16 additions and 25 deletions

View file

@ -19,7 +19,7 @@ pg_createcluster 15 map --port=5433 --start -e utf8
sudo -iu postgres psql -c '\l' --port=5433 | grep gis || (
sudo -iu postgres createuser --port=5433 _renderd
sudo -iu postgres psql --port=5433 -c "alter user _renderd password 'wrolpi'"
sudo -iu postgres createdb --port=5433 -E UTF8 -O _renderd gis
sudo -iu postgres createdb --port=5433 -E UTF8 -O _renderd --template=template0 gis
sudo -iu postgres psql -d gis --port=5433 -c 'CREATE EXTENSION postgis'
sudo -iu postgres psql -d gis --port=5433 -c 'CREATE EXTENSION hstore'
echo "Created gis database"