summarylogtreecommitdiffstats
path: root/nominatim.install
diff options
context:
space:
mode:
authorChristoph Fink2020-02-06 17:10:08 +0200
committerChristoph Fink2020-02-06 17:31:52 +0200
commitf7f7baea0b873879c3a0dc1b952e0d741496ccd7 (patch)
tree6b02c3a37ffa71fee5ca9810104a24dfab7a6878 /nominatim.install
downloadaur-f7f7baea0b873879c3a0dc1b952e0d741496ccd7.tar.gz
v3.4.1-0
Diffstat (limited to 'nominatim.install')
-rw-r--r--nominatim.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/nominatim.install b/nominatim.install
new file mode 100644
index 000000000000..cb3d19a32b0e
--- /dev/null
+++ b/nominatim.install
@@ -0,0 +1,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
+}