This directory will contain various scripts used to prepare systems for use in Profiles.
In addition to what is set up by Django, there are some other database configurations that need to be run by a postgres superuser.
This file will set up a foreign data wrapper around a connection to your CKAN instance.
- Modify
connect_datastore.sql
to match the settings for your CKAN instance. - Run the file
psql -h <YOUR HOST> -U <YOUR SUPERUSER> -d profiles_backend -f connect_datstore.sql
This file will set up a special read only user for the tile server.
- Provide a password for your maps user in
init_maps.sql
. - Run the file
psql -h <YOUR HOST> -U <YOUR SUPERUSER> -d profiles_backend -f init_maps.sql