summarylogtreecommitdiffstats
path: root/nominatim.install
blob: cb3d19a32b0ebd602feffd9a22aa549522782f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

post_install() {
    cat <<- 'EOF'
    Create a PostgreSQL database and users for nomination by running
    `sudo su - postgres "createuser nominatim; createdb -O nominatim nominatim; createuser http"`

    Then `su` to user `nominatim` and follow the instructions at http://nominatim.org/release-docs/latest/admin/Import-and-Update/#choosing-the-data-to-import to download and import data.
    
	EOF
}