0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

Use current directory structure in documentation

Commit 7fef14c322 refactored the directory structure - reflect these changes in the documentation.
This commit is contained in:
robi-wan 2017-09-14 15:49:57 +02:00
parent 57fbb59889
commit 4bd174b96f
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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`