Skip to content

Instantly share code, notes, and snippets.

@aortmannm
Last active December 14, 2015 18:19
Show Gist options
  • Save aortmannm/5128428 to your computer and use it in GitHub Desktop.
Save aortmannm/5128428 to your computer and use it in GitHub Desktop.
npmjs reporitory
## Install CouchDB with all necessary packages
pkgin in couchdb
## /opt/local/etc/couchdb Edit the local.ini
[httpd]
secure_rewrites = false
## /opt/local/etc/couchdb edit the default.ini
bind_address = 0.0.0.0
## Enable epmd its necessary for couchdb
svcadm enable epmd:default
## Enable couchdb
svcadm enable couchdb:default
## Start replicate the NPM Repository ;_) and wait the Database is like 30GB big.
curl -X POST http://127.0.0.1:5984/_replicate -d '{"source":"http://isaacs.iriscouch.com/registry/", "target":"registry", "continuous":true, "create_target":true}' -H "Content-Type: application/json"
curl: (52) Empty reply from server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment