From dd1bd01b2e6d64a3a31c13a24abc2eadbc241827 Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Sun, 9 Jun 2013 14:22:41 +0400 Subject: [PATCH] added installation info --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 3eaa5f2f1..e9d2786c0 100644 --- a/README.md +++ b/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?