Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.12 KB

spmjs.io

David Status

spmjs.io is the distributed packaging server perfectly matching with [email protected]. Now it is rewrited in javascript from Yuan(the precursors), and is faster, more powerful and easier to deploy.

Install

$ git clone git://github.com/spmjs/spmjs.io.git
$ cd spmjs.io
$ npm install

Config

$ cp config/base.default.yaml config/base.yaml

Modify config/base.yaml as you need.

Deploy

Start and stop server by a simple command.

$ npm start
$ npm stop

Then you have a complete package source server which can interact with spm3.x after add the server address to ~/.spm/spmrc-3x.

[source:default]
url = http://127.0.0.1:3000

Reindex the packages for elastic search.

$ npm run reindex

TODO:

  • packages sync server
  • data backup
  • spm owner [ls|add|rm] ?