Mercurial > hg > orthanc-book
comparison Sphinx/source/plugins/postgresql.rst @ 28:dc235678897c
webviewer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jul 2016 10:48:43 +0200 |
parents | c23f02a64caf |
children | 79b6d3ea92aa |
comparison
equal
deleted
inserted
replaced
27:c23f02a64caf | 28:dc235678897c |
---|---|
32 The compilation will produce 2 shared libraries, each containing one plugin for Orthanc: | 32 The compilation will produce 2 shared libraries, each containing one plugin for Orthanc: |
33 | 33 |
34 * ``OrthancPostgreSQLIndex`` replaces the default SQLite index of Orthanc by PostgreSQL. | 34 * ``OrthancPostgreSQLIndex`` replaces the default SQLite index of Orthanc by PostgreSQL. |
35 * ``OrthancPostgreSQLStorage`` makes Orthanc store the DICOM files it receives into PostgreSQL. | 35 * ``OrthancPostgreSQLStorage`` makes Orthanc store the DICOM files it receives into PostgreSQL. |
36 | 36 |
37 Some pre-compiled binaries for Microsoft Windows `are also available | 37 Pre-compiled binaries for Microsoft Windows `are also available |
38 <http://www.orthanc-server.com/browse.php?path=/plugin-postgresql>`__. | 38 <http://www.orthanc-server.com/browse.php?path=/plugin-postgresql>`__. |
39 Package for `Apple's Mac OS X | 39 Package for `Apple's Mac OS X |
40 <http://localhost/~jodogne/orthanc/static.php?page=download-mac>`__ | 40 <http://localhost/~jodogne/orthanc/static.php?page=download-mac>`__ |
41 are available courtesy of `Osimis <http://osimis.io/>`__. | 41 are available courtesy of `Osimis <http://osimis.io/>`__. |
42 | 42 |
44 Usage | 44 Usage |
45 ----- | 45 ----- |
46 | 46 |
47 .. highlight:: json | 47 .. highlight:: json |
48 | 48 |
49 You of course first have to install Orthanc, with a version above | 49 You of course first have to :ref:`install Orthanc <compiling>`, with a |
50 0.9.1. You then have to **create a database** dedicated to Orthanc on | 50 version above 0.9.1. You then have to **create a database** dedicated |
51 some PostgreSQL server. Please refer to the `PostgreSQL documentation | 51 to Orthanc on some PostgreSQL server. Please refer to the `PostgreSQL |
52 documentation | |
52 <https://www.postgresql.org/docs/current/static/tutorial-createdb.html>`__. | 53 <https://www.postgresql.org/docs/current/static/tutorial-createdb.html>`__. |
53 | 54 |
54 Once Orthanc is installed and the database is created, you must add a | 55 Once Orthanc is installed and the database is created, you must add a |
55 section in the :ref:`configuration file <configuration>` that | 56 section in the :ref:`configuration file <configuration>` that |
56 specifies the address of the **PostgreSQL server together with your | 57 specifies the address of the **PostgreSQL server together with your |