Update Windows Server 2016.md

This commit is contained in:
Ubaldo Mattos 2018-12-23 12:19:40 -02:00 committed by GitHub
parent 0038a1d9e1
commit f3a4bbc63a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,29 +12,43 @@
c. Type choco -? to ensure the installation is OK. c. Type choco -? to ensure the installation is OK.
2. Install Meteor 2. Install Meteor
a. Type the command: `choco install meteor` a. Type the command: `choco install meteor`
3. Install node.js 3. Install node.js
a. Download MSI from: https://nodejs.org/en/download/ a. Download MSI from: https://nodejs.org/en/download/
4. Install MongoDB 4. Install MongoDB
a. Download MSI from: a. Download MSI from:
https://www.mongodb.com/download-center/community https://www.mongodb.com/download-center/community
5. Install Git 5. Install Git
a. https://git-scm.com/download/win a. https://git-scm.com/download/win
6. Download the OHIF Viewer repository from GitHub, or use Git to clone it (recommended) 6. Download the OHIF Viewer repository from GitHub, or use Git to clone it (recommended)
a. GitHub Repo: https://github.com/OHIF/Viewers a. GitHub Repo: https://github.com/OHIF/Viewers
b. GIT Clone command: git clone https://github.com/OHIF/Viewers b. GIT Clone command: git clone https://github.com/OHIF/Viewers
7. Set the Meteor Packages folder environment variable 7. Set the Meteor Packages folder environment variable
a. Go to Advanced System Settings a. Go to Advanced System Settings
b. Under Advanced, click on the "Environment Variables..." button b. Under Advanced, click on the "Environment Variables..." button
c. Under System Variables, click "New..." c. Under System Variables, click "New..."
d. Set the following: d. Set the following:
i. Variable name: METEOR_PACKAGE_DIRS i. Variable name: METEOR_PACKAGE_DIRS
ii. Variable Value: {path to the OHIF Viewer Packages Folder} ii. Variable Value: {path to the OHIF Viewer Packages Folder}
example: C:\OHIF\Viewers\Packages example: C:\OHIF\Viewers\Packages
8. Using the command line, navigate/cs to the standalone viewer folder, example: `cd C:\OHIF\Viewers\StandaloneViewer\StandaloneViewer` 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` 9. run the command: `meteor npm install`
10. Run the command: `meteor` 10. Run the command: `meteor`
a. if you get this error "Error: EPERM: operation not permitted, unlink" Or, 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) 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: # Troubleshooting: