-
Make sure you have a 2.x npm client installed.
-
Install dependencies with Homebrew:
brew install ansible
brew install couchdb
brew install redis
brew install nginx
- Install the installer (turtles all the way down):
npm install npme
hit `n` and abort the install.
- Manually run the installer, overriding
userandgroup:
./node_modules/.bin/npme --user=your-user-name --group=admin
- when prompted, set the front-door host to
http://127.0.0.1:8080.
- Manual steps required post install:
- make sure we've successfully installed nginx and couchdb config (this should have happened during install):
- nginx.conf should refer to /etc/npme/packages
- local.ini should have an admin password set.
- restart nginx and couchdb, something like this:
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.couchdb.plistlaunchctl load ~/Library/LaunchAgents/homebrew.mxcl.couchdb.plistlaunchctl unload ~/Library/LaunchAgents/homebrew.mxcl.nginx.plistlaunchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
- traverse to
/etc/npme. - run
npm cache clear;npm install --verbose --always-auth --registry=https://enterprise.npmjs.com. - run
sudo ndm generateto generate launchctl scripts. - run
ndm startto start things up. - run
curl -XGET localhost:8080you should see a registry! - tail logs and make sure settings look sane:
tail -f /etc/npme/logs/*.
That should get you on your feet, there's more documentation here:
https://docs.npmjs.com/enterprise
npme uses the ndm tool, which has documentation here: