Simple bower registry using node and redis.
npm install -g bower-registry
bower-registry -d redis
var bowerRegistry = require('bower-registry'),
Registry = bowerRegistry.Registry,
RedisDb = bowerRegistry.RedisDb;
var registry = new Registry({
db: new RedisDb()
});
registry
.initialize()
.listen(3000);
Usage: bower-registry [options]
Options:
-h, --help output usage information
-V, --version output the version number
-d, --database <value> Database
-o, --db-options [value] Database options
-p, --port <value> Web server port
-h, --host [value] Web server host
-P, --private Accept private packages
# Start registry server on port 8080 using redis (port 6379, host 127.0.0.1)
bower-registry -p 8080 -d redis -o '{"port": 6379, "host": "127.0.0.1"}'
port
: redis instance porthost
: redis instance host- other options available in node_redis
MIT