Fix #158: Correct documentation on the PostgreSQL tables file name, add example

This commit is contained in:
Christian Weiske 2013-07-02 14:59:38 +02:00
parent f8066ea76a
commit f309a61b71

View file

@ -17,15 +17,17 @@ Standard installation instructions
If you've downloaded a ``SemanticScuttle-x.y.z.zip`` file from SourceForge, If you've downloaded a ``SemanticScuttle-x.y.z.zip`` file from SourceForge,
then this instructions are for you. 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. 2. Import ``data/tables.sql`` into that database, i.e.
run :: 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 3. Copy ``data/config.php.dist`` to ``data/config.php`` and modify it as
necessary. See configuration_ for more information. necessary. See configuration_ for more information.