]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Fix #158: Correct documentation on the PostgreSQL tables file name, add example
authorChristian Weiske <cweiske@cweiske.de>
Tue, 2 Jul 2013 12:59:38 +0000 (14:59 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 2 Jul 2013 12:59:38 +0000 (14:59 +0200)
doc/INSTALL.txt

index 7868191b284f9ecf02fd3c5480513364ea092fab..c911740901361373be9c989a945908effafc1187 100644 (file)
@@ -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 ``tables-postgresql.sql``::
 
-   If you run PostgreSQL, use ``data/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.