From 02587748752fcb46df9ca1e6ddbfdeb963959d9b Mon Sep 17 00:00:00 2001 From: Ubaldo Mattos Date: Sun, 23 Dec 2018 12:12:16 -0200 Subject: [PATCH] Update Windows Server 2016.md --- .../Windows/Windows Server 2016.md | 48 +++++++++++++------ 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/docs/OHIF/Installation Instructions/Windows/Windows Server 2016.md b/docs/OHIF/Installation Instructions/Windows/Windows Server 2016.md index 413414fb3..c7ff16406 100644 --- a/docs/OHIF/Installation Instructions/Windows/Windows Server 2016.md +++ b/docs/OHIF/Installation Instructions/Windows/Windows Server 2016.md @@ -1,20 +1,40 @@ # OHIF Standalone Installation Instructions For Windows Server 2016: -* Note: Turn-Off Windows Defender Realtime protection during this process +**Note: Turn-Off Windows Defender Realtime protection during this process* 1. Install Chocolatey - - a. Go to this URL for instructions: - https://chocolatey.org/install#install-with-cmdexe - - b. Execute this command in the cmd line as Admin: - -`@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"` - - c. Type choco -? to ensure the installation is OK. - + a. Go to this URL for instructions: + https://chocolatey.org/install#install-with-cmdexe + b. Execute this command in the cmd line as Admin: + `@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"` + c. Type choco -? to ensure the installation is OK. 2. Install Meteor - - a. Type the command: choco install meteor - + a. Type the command: `choco install meteor` 3. Install node.js + a. Download MSI from: https://nodejs.org/en/download/ +4. Install MongoDB + a. Download MSI from: +https://www.mongodb.com/download-center/community +5. Install Git + a. https://git-scm.com/download/win +6. Download the OHIF Viewer repository from GitHub, or use Git to clone it (recommended) + a. GitHub Repo: https://github.com/OHIF/Viewers + b. GIT Clone command: git clone https://github.com/OHIF/Viewers +7. Set the Meteor Packages folder environment variable + a. Go to Advanced System Settings + b. Under Advanced, click on the "Environment Variables..." button + c. Under System Variables, click "New..." + d. Set the following: + i. Variable name: METEOR_PACKAGE_DIRS + ii. Variable Value: {path to the OHIF Viewer Packages Folder} + example: C:\OHIF\Viewers\Packages +8. Using the command line, navigate/cs to the standalone viewer folder, example: `cd C:\OHIF\Viewers\StandaloneViewer\StandaloneViewer` +9. run the command: `meteor npm install` +10. Run the command: `meteor` + a. if you get this error "Error: EPERM: operation not permitted, unlink" Or, + b. You feel the build is stale for a very long time > 10min with no visual indication, restart the cmd prompt and repeat this step (meteor) + +# Troubleshooting: + +1. If you get an error: Error: EPERM: operation not permitted, unlink 'c:\xxxxx' + a. https://github.com/phoenixframework/phoenix/issues/2464