annotate Sphinx/source/users/quick-start-windows.rst @ 1098:569e7f6f4753

remove osimis viewer
author Alain Mazy <am@orthanc.team>
date Fri, 02 Aug 2024 18:34:52 +0200
parents 424dea75b62a
children 0f1d221a4faf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1096
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
1 .. _quick-start-windows:
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
2
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
3 Quickstart Guide for Windows
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
4 ============================
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
5
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
6 Orthanc is a lightweight, open-source DICOM server ideal for medical imaging professionals. This guide will help you quickly set up and run Orthanc on a Windows machine.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
7
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
8 Step 1: Download Orthanc
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
9 ------------------------
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
10
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
11 1. **Visit the Orthanc Website**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
12
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
13 Navigate to the `Orthanc downloads website <https://www.orthanc-server.com/download-windows.php>`_.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
14
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
15 2. **Download the Windows Installer**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
16
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
17 Identify your OS version 64 or 32 bits (note: very likely 64 bits) and download the latest version of the Orthanc installer (``.exe`` file).
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
18
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
19 Step 2: Install Orthanc
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
20 -----------------------
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
21
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
22 1. **Run the Installer**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
23 Locate the downloaded installer file and double-click it to start the installation process. Note that the installer is not signed and you might
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
24 have to click on ``More info`` and ``Run anyway``
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
25
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
26 .. image:: ../images/win-quick-start-protect.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
27 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
28 :width: 60%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
29
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
30 2. **Follow the Installation Wizard**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
31
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
32 * Accept the license agreement.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
33 * Choose the installation directory (default ``C:\Program Files\Orthanc Server`` is usually fine).
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
34 * Select the folder in which Orthanc will store its data files (default ``C:\Orthanc`` is usually fine).
1097
Alain Mazy <am@orthanc.team>
parents: 1096
diff changeset
35 * Select the plugins to install. Although you might not need all of them, they are all selected by default and this is fine : plugins that are not explicitly enabled do not consume any resources.
1096
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
36 * Complete the installation by following the prompts.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
37
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
38 .. image:: ../images/win-quick-start-inst.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
39 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
40 :width: 40%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
41
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
42 Step 3: Orthanc is running !
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
43 ----------------------------
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
44
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
45 At this stage, Orthanc is running as a Windows Service which means that it will start everytime your Windows machine starts.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
46
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
47 Orthanc User Interface is accessible at `http://localhost:8042/ui/app/ <http://localhost:8042/ui/app/>`_. Orthanc is currently empty
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
48
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
49 .. image:: ../images/win-quick-start-orthanc-empty.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
50 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
51 :width: 80%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
52
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
53 Step 4: Upload and view your first DICOM images !
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
54 -------------------------------------------------
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
55
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
56 The easiest way to feed Orthanc with DICOM images is through the ``upload`` menu of the User interface.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
57
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
58 .. image:: ../images/win-quick-start-orthanc-upload.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
59 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
60 :width: 40%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
61
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
62 Once this is done, your DICOM images will appear in the Study List and you'll be able to browse them and visualize them with one of the pre-installed viewers.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
63 Remember that we have installed all plugins ? Therefore, you'll have the choice between 4 viewers:
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
64
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
65 * The :ref:`Stone Web viewer <stone_webviewer>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
66 * The :ref:`OHIF viewer <ohif>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
67 * :ref:`Volview <volview>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
68
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
69 .. image:: ../images/win-quick-start-orthanc-study-list.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
70 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
71 :width: 80%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
72
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
73 Step 5: Configure Orthanc
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
74 -------------------------
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
75
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
76 Orthanc is configured through a `JSON <https://en.wikipedia.org/wiki/JSON>`__ configuration file and comes with a default configuration that is suitable for quick testing.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
77 However, at some point, you might probably need to customize the settings.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
78
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
79 1. **Locate the Configuration Files**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
80
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
81 The Windows configuration is split under multiple configuration files and are typically stored in ``C:\Program Files\Orthanc\Configuration\``.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
82 ``orthanc.json`` is the main configuration file. Its complete documentation is available `here <https://orthanc.uclouvain.be/hg/orthanc/file/tip/OrthancServer/Resources/Configuration.json>`__.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
83 Each :ref:`plugin <plugins>` has its own configuration file documented in the plugin documentation.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
84
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
85 .. image:: ../images/win-quick-start-config-files.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
86 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
87 :width: 40%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
88
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
89 2. **Edit the Configuration File**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
90
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
91 To edit a configuration file, you must start your editor with ``Run as administrator``.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
92 We recommend to edit your configuration file with an editor such as `Notepad++ <https://notepad-plus-plus.org/>`_.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
93 It shall warn you that this file can be edited only by an admin, and will suggest you to restart Notepad++ as an admin such that you'll be
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
94 able to save it.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
95
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
96 Configure settings such as:
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
97
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
98 * **HTTP Server Port**: ``"HttpPort": 8042`` (default is 8042)
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
99 * **DICOM Server Port**: ``"DicomPort": 4242`` (default is 4242)
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
100 * **Database Storage Path**: ``"StorageDirectory": "OrthancStorage"``
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
101 Save your changes.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
102
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
103 **Remark 1:** When specifying paths under Microsoft Windows,
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
104 backslashes (i.e. ``\``) should be either escaped by doubling them (as
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
105 in ``\\``), or replaced by forward slashes (as in ``/``).
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
106
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
107 **Remark 2:** In JSON, every ``{}`` and every ``,`` counts ! Orthanc will refuse to
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
108 start if the file is not in a valid JSON format. There are numerous online JSON validators to validate your
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
109 JSON.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
110
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
111 3. **Restart Orthanc service**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
112
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
113 To take the configuration changes into account, Orthanc must be restarted. This is done through the
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
114 ``services`` panel (type the ``Windows`` key and search for ``services``). Locate Orthanc and right click ``Restart``
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
115
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
116
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
117 .. image:: ../images/win-quick-start-services.png
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
118 :align: center
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
119 :width: 70%
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
120
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
121 4. **Check it is running correctly**
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
122
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
123 Open the User Interface at `http://localhost:8042/ui/app/ <http://localhost:8042/ui/app/>`_ to validate that Orthanc is running correctly after your changes.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
124 If not, you should check the :ref:`Orthanc logs <log>` in ``C:\\Program Files\\Orthanc Server\\Logs``.
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
125
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
126
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
127 Next steps
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
128 ----------
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
129
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
130 Now that you know how to configure Orthanc, here are a few suggested sections to continue your exploration:
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
131
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
132 * :ref:`Connect Orthanc to a DICOM modality <configure-modality>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
133 * Connect a DICOMWeb client e.g. :ref:`Osirix <integrate-osirix-using-dicomweb>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
134 * Learn to use the Orthanc Rest API :ref:`Rest API <rest>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
135 * Start to customize Orthanc through :ref:`Lua scripting <lua>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
136 * Extend Orthanc through a :ref:`Python plugin <python-plugin>`
c825cf4672f2 quick start guide for windows
Alain Mazy <am@orthanc.team>
parents:
diff changeset
137 * And learn much more by reading the :ref:`Orthanc book <orthanc-book>`