<h2id="getting-the-code"><aname="getting-the-code"class="plugin-anchor"href="#getting-the-code"><iclass="fa fa-link"aria-hidden="true"></i></a>Getting the Code</h2>
<p>or <ahref="https://github.com/OHIF/Viewers/archive/master.zip"target="_blank">Download the latest Master as a ZIP File</a>.</p>
<h2id="test-the-archive-against-our-public-dicom-server"><aname="test-the-archive-against-our-public-dicom-server"class="plugin-anchor"href="#test-the-archive-against-our-public-dicom-server"><iclass="fa fa-link"aria-hidden="true"></i></a>Test the archive against our public DICOM server</h2>
<h2id="set-up-and-test-the-ohif-viewer-application"><aname="set-up-and-test-the-ohif-viewer-application"class="plugin-anchor"href="#set-up-and-test-the-ohif-viewer-application"><iclass="fa fa-link"aria-hidden="true"></i></a>Set up and test the OHIF Viewer application:</h2>
<p>Note: This will connect to our public DICOMWeb server so you can verify your installation. Follow the next section to connect to your own local or remote DICOMWeb server.</p>
<ol>
<li>Launch the OHIF Viewer Study List by visiting <ahref="http://localhost:3000/"target="_blank">http://localhost:3000/</a> in a web browser.</li>
</ol>
<p><strong>If everything is working correctly, you should see the studies from our public archive when you visit the Study List.</strong></p>
<ol>
<li><p>Double-click on a Study in the Study List to launch it in the Viewer</p>
<p><strong>If everything is working correctly, you should see your study load into the Viewer.</strong></p>
</li>
</ol>
<h2id="set-up-a-local-dicom-server"><aname="set-up-a-local-dicom-server"class="plugin-anchor"href="#set-up-a-local-dicom-server"><iclass="fa fa-link"aria-hidden="true"></i></a>Set up a local DICOM server</h2>
<ol>
<li>Choose and install an Image Archive</li>
<li>Upload some data into your archive (e.g. with DCMTK's <ahref="http://support.dcmtk.org/docs/storescu.html"target="_blank">storescu</a> or your archive's web interface)</li>
<p><em>Feel free to make a Pull Request if you want to add to this list.</em></p>
<h2id="set-up-and-test-the-ohif-viewer-application"><aname="set-up-and-test-the-ohif-viewer-application"class="plugin-anchor"href="#set-up-and-test-the-ohif-viewer-application"><iclass="fa fa-link"aria-hidden="true"></i></a>Set up and test the OHIF Viewer application:</h2>
<p>This uses the <ahref="https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables"target="_blank">Custom Environment Variables of Create-React-App</a> to pass in your configuration. The example above will not work on Windows. Please visit the link to read about how to set environment variables on Windows.</p>
</li>
<li><p>Launch the OHIF Viewer Study List by visiting <ahref="http://localhost:3000/"target="_blank">http://localhost:3000/</a> in a web browser.</p>
<p><strong>If everything is working correctly, you should see the Study List from your archive when you visit the Study List.</strong></p>
</li>
<li><p>Double-click on a Study in the Study List to launch it in the Viewer</p>
<p><strong>If everything is working correctly, you should see your study load into the Viewer.</strong></p>
<li>If you receive a <em>"No Studies Found"</em> message and do not see your studies, try changing the Study Date filters to a wider range.</li>
<li>If you see a 'Loading' message which never resolves, check your browser JavaScript console inside the Developer Tools to identify any errors.</li>
<li>If you see any errors in your server console, check the <ahref="../troubleshooting.md">Troubleshooting</a> page for more in depth advice.</li>
gitbook.page.hasChanged({"page":{"title":"Getting Started","level":"1.3.1","depth":2,"next":{"title":"Troubleshooting","level":"1.3.2","depth":2,"path":"essentials/troubleshooting.md","ref":"essentials/troubleshooting.md","articles":[]},"previous":{"title":"Essentials","level":"1.3","depth":1,"ref":"","articles":[{"title":"Getting Started","level":"1.3.1","depth":2,"path":"essentials/getting-started.md","ref":"essentials/getting-started.md","articles":[]},{"title":"Troubleshooting","level":"1.3.2","depth":2,"path":"essentials/troubleshooting.md","ref":"essentials/troubleshooting.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["edit-link","theme-cornerstone","-fontsettings","github","ga","sitemap","anchors","versions","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/OHIF/Viewers"},"livereload":{},"search":{},"theme-cornerstone":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"highlight":{},"sitemap":{"hostname":"https://docs.ohif.org"},"ga":{"configuration":"auto","token":"UA-110573590-2"},"versions":{"type":"branches","gitbookConfigURL":"https://raw.githubusercontent.com/OHIF/Viewers/master/docs/book.json","options":[{"value":"https://docs.ohif.org/history/v1/","text":"Version 1.0.0 (Meteor)"},{"value":"https://docs.ohif.org/","text":"Version 2.0.0","selected":true}]},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit This Page","base":"https://github.com/OHIF/Viewers/edit/master/docs"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"OHIF","links":{"sharing":{"facebook":false,"twitter":false}},"gitbook":">3.0.0","description":"Documentation for the OHIF framework"},"file":{"path":"essentials/getting-started.md","mtime":"2019-03-04T12:43:38.023Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-03-04T12:56:39.144Z"},"basePath":"..","book":{"language":""}});