Skip to content

ksh033/spmjs.io

 
 

Repository files navigation

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] ?

About

The distributed packaging server for [email protected]

Resources

Stars

Watchers

Forks

Packages

No packages published