Last active
December 14, 2015 18:19
-
-
Save aortmannm/5128428 to your computer and use it in GitHub Desktop.
npmjs reporitory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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