mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
added installation info
This commit is contained in:
parent
f735f5fbb4
commit
dd1bd01b2e
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -1,5 +1,23 @@
|
|||
**This thing doesn't work yet, come back in a few weeks**
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# installation and starting
|
||||
$ npm install -g sinopia
|
||||
$ sinopia
|
||||
|
||||
# npm configuration
|
||||
$ npm set registry http://localhost:4387/
|
||||
|
||||
# if you have any restricted packages (that's the point of having private
|
||||
# registry anyway), you should add this:
|
||||
$ npm set always-auth true
|
||||
|
||||
# if you use HTTPS (you probably should), add an appropriate CA information
|
||||
$ npm set ca null
|
||||
```
|
||||
|
||||
## Goals
|
||||
|
||||
We want to create a private/caching npm repository server. The idea of it to be as simple as it could possibly be, which means "just download and run it". As I recall, there're no such things available now, is there?
|
||||
|
|
Loading…
Reference in a new issue