0.0.1 • Published 8 years ago

privus v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Privus

A private npm registry for GitHub repositories.

Deploy to Heroku

Getting started

You need to set required environment variables before starting the server:

$ SECRET=my-secret-key
$ GITHUB_TOKEN=github-access-token
$ node index.js

Environment variables

NameDefault valueRequired
SECRET
GITHUB_TOKEN
PORT3000
REGISTRYhttps://registry.npmjs.org
SCOPE
REPOSITORIES

SECRET

Secret token needed to access registry:

http://registry.example.com/my-secret-key

GITHUB_TOKEN

GitHub API access token. For more information see:

https://help.github.com/articles/creating-an-access-token-for-command-line-use/

SCOPE

If set, only packages with given scope will be accepted.

REPOSITORIES

If set, only given repositories will be processed. By default all repositories are processed.