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

post_install() {
    cat <<- 'EOF'
    Create the required PostgreSQL and users for nominatim by running
    `sudo su - postgres "createuser -s 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
}