From 255332f949496c7e6dc9bb6b8c51af83652b57a8 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 6 May 2014 11:11:49 +0200 Subject: [PATCH] Update README with info about installing/testing/using --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fdec96..f3c6f8e 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,31 @@ Dependencies ------------ * PostgreSQL 9.3+ - * [Schema triggers extension](https://bitbucket.org/malloclabs/pg_schema_triggers) + * [Schema triggers extension] + (https://bitbucket.org/malloclabs/pg_schema_triggers) + +Install +------- + + make all install + +Test installation +----------------- + + make installcheck + +NOTE: if ``test_ddl_triggers`` fails it's likely due to an incomplete + installation of schema_triggers: you need to add ``schema_triggers.so`` + to the ``shared_preload_libraries`` setting in postgresql.conf ! + +Usage +----- + +In a database that needs to beturned into a "cartodb" user database, run: + +```sql + CREATE EXTENSION postgis; + CREATE EXTENSION schema_triggers; + CREATE EXTENSION cartodb; +``` +