From f309a61b717a0ac3327d27406095a03d9226a617 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 2 Jul 2013 14:59:38 +0200 Subject: [PATCH] Fix #158: Correct documentation on the PostgreSQL tables file name, add example --- doc/INSTALL.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/INSTALL.txt b/doc/INSTALL.txt index 7868191..c911740 100644 --- a/doc/INSTALL.txt +++ b/doc/INSTALL.txt @@ -17,15 +17,17 @@ Standard installation instructions If you've downloaded a ``SemanticScuttle-x.y.z.zip`` file from SourceForge, then this instructions are for you. -1. Create a new MySQL database +1. Create a new MySQL/PostgreSQL database 2. Import ``data/tables.sql`` into that database, i.e. run :: - $ mysql -umyusername semanticscuttle < data/tables.sql + $ mysql -umyusername -p mydatabasename < data/tables.sql - on the shell ("semanticscuttle" being the database name) + on the shell. - If you run PostgreSQL, use ``data/tables.postgresql.sql``. + If you run PostgreSQL, use ``tables-postgresql.sql``:: + + $ psql mydatabasename myusername < data/tables-postgresql.sql 3. Copy ``data/config.php.dist`` to ``data/config.php`` and modify it as necessary. See configuration_ for more information.