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.
$ git clone git://github.com/spmjs/spmjs.io.git
$ cd spmjs.io
$ npm install
$ cp config/base.default.yaml config/base.yaml
Modify config/base.yaml
as you need.
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
- packages sync server
- data backup
- spm owner [ls|add|rm] ?