Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
  1. write config file make a config.admin.js, config couchAuth for couch login, and registryCouch to couchdb; update =npm= change the registry address;

  2. start redis install redis, run:

    redis-server dev/redis/redis.conf

  3. start elasticsearch install elasticsearch, run:

    nohup elasticsearch -Des.config=dev/elasticsearch/elasticsearch.yml -f

  4. run npm2es.js after elasticsearch is already started. this will build elasticsearch index:

    nohup ./node_modules/npm2es/bin/npm2es.js --couch='couch registry' --es=http://127.0.0.1:9200/npm

  5. run server

    nohup npm start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.