summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2013-07-02 14:59:38 +0200
committerChristian Weiske <cweiske@cweiske.de>2013-07-02 14:59:38 +0200
commitf309a61b717a0ac3327d27406095a03d9226a617 (patch)
treea48fbcb8359bb76806e8e3994d92203aea94c7db
parentf8066ea76acf2c77be11b7485de604d834939d69 (diff)
downloadsemanticscuttle-f309a61b717a0ac3327d27406095a03d9226a617.tar.gz
semanticscuttle-f309a61b717a0ac3327d27406095a03d9226a617.tar.bz2
Fix #158: Correct documentation on the PostgreSQL tables file name, add example
-rw-r--r--doc/INSTALL.txt10
1 files 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 ``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.