From 4bd174b96f226e363c257acd4e57f248a47c9707 Mon Sep 17 00:00:00 2001 From: robi-wan Date: Thu, 14 Sep 2017 15:49:57 +0200 Subject: [PATCH] Use current directory structure in documentation Commit 7fef14c322c1c73727c349389e036b3e5bde3bcc refactored the directory structure - reflect these changes in the documentation. --- wiki/iis-server.md | 2 +- wiki/windows.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/iis-server.md b/wiki/iis-server.md index 7c23f20e9..9eb713a8a 100644 --- a/wiki/iis-server.md +++ b/wiki/iis-server.md @@ -53,7 +53,7 @@ A default configuration file will be created `c:\verdaccio\verdaccio\config.yaml ````bash process.argv.push('-l', 'unix:' + process.env.PORT); -require('./node_modules/verdaccio/lib/cli.js'); +require('./node_modules/verdaccio/src/lib/cli.js'); ```` ### web.config diff --git a/wiki/windows.md b/wiki/windows.md index aba7cd873..f78c9e08f 100644 --- a/wiki/windows.md +++ b/wiki/windows.md @@ -25,7 +25,7 @@ Startup directory and Arguments fields. Assuming an install with node in the sys location of c:\verdaccio the below values will work: * Path: `node` * Startup directory: `c:\verdaccio` - * Arguments: `c:\verdaccio\node_modules\verdaccio\lib\cli.js -c c:\verdaccio\config.yaml` + * Arguments: `c:\verdaccio\node_modules\verdaccio\src\lib\cli.js -c c:\verdaccio\config.yaml` You can adjust other service settings under other tabs as desired. When you are done, click Install service button @@ -37,7 +37,7 @@ location of c:\verdaccio the below values will work: * Download [WinSW](http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/) * Place the executable (e.g. `winsw-1.9-bin.exe`) into this folder (`c:\verdaccio`) and rename it to `verdaccio-winsw.exe` * Create a configuration file in `c:\verdaccio`, named `verdaccio-winsw.xml` -with the following configuration `xml verdaccio verdaccio verdaccio node c:\verdaccio\node_modules\verdaccio\lib\cli.js -c c:\verdaccio\config.yaml roll c:\verdaccio\ `. +with the following configuration `xml verdaccio verdaccio verdaccio node c:\verdaccio\node_modules\verdaccio\src\lib\cli.js -c c:\verdaccio\config.yaml roll c:\verdaccio\ `. * Install your service * `cd c:\verdaccio` * `verdaccio-winsw.exe install`