{"_id":"serverus","_rev":"11-4bf03e14cf339671cbac84ded07500f9","name":"serverus","description":"Git branch server","dist-tags":{"latest":"0.5.3"},"versions":{"0.5.0":{"name":"serverus","description":"Git branch server","version":"0.5.0","repository":{"type":"git","url":"git://github.com/BrandwatchLtd/serverus.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"maintainers":[{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"}],"main":"serverus","bin":{"serverus":"./serverus"},"preferGlobal":true,"directories":{"lib":"."},"scripts":{"test":"expresso"},"engines":{"node":">=0.4"},"dependencies":{"underscore":"1.2.x","backbone":"0.5.x","rimraf":"1.0.x","http-proxy":"0.7.x","cli":"0.3.x","stache":"0.1.x","express":"2.5.x","socket.io":"0.8.x"},"devDependencies":{},"_npmUser":{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"},"_id":"serverus@0.5.0","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"b65ba393e164f4d03f1a84669b9df8156180429a","tarball":"https://registry.npmjs.org/serverus/-/serverus-0.5.0.tgz","integrity":"sha512-8hwkzZX+KmW3lalkgKDkPAvKwOWwmcHWupdis9cfD20Aiex/9H999Ke5yTvXGuKSp3EZJgTbgmiGL0A6C5sB1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6vmiorIFTn2HYNL9i4JqxJkOujNXl8pNmDSPl4Mo0KAIhANfMhT8Rgk+jAWSvQWW9Vb+iRvkxBLzJ0vqkXLKVkYaE"}]}},"0.5.1":{"name":"serverus","description":"Git branch server","version":"0.5.1","repository":{"type":"git","url":"git://github.com/BrandwatchLtd/serverus.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"maintainers":[{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"}],"main":"serverus","bin":{"serverus":"./serverus"},"preferGlobal":true,"directories":{"lib":"."},"scripts":{"test":"expresso"},"engines":{"node":">=0.4"},"dependencies":{"underscore":"1.2.x","backbone":"0.5.x","rimraf":"1.0.x","http-proxy":"0.7.x","cli":"0.3.x","stache":"0.1.x","express":"2.5.x","socket.io":"0.8.x"},"devDependencies":{},"_npmUser":{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"},"_id":"serverus@0.5.1","_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"2c8d313d24cbf8632d67f19066b66344a1a61f18","tarball":"https://registry.npmjs.org/serverus/-/serverus-0.5.1.tgz","integrity":"sha512-5+4okpSPYS2o3EhjO3z0bdo+e0SpQIiSEjUeTDB4f0HULCQFExuRRh1xv0hIGodgzx74uER7hhElQPevZK5CTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLAPx2IHo4qCJlx7J2z0hynN0Ik3l8P3AFLwSBNWjq1gIgELwJL0ky4NWBttJdNluBvipCuRBGRzrUmnIT5qLSyhc="}]}},"0.5.2":{"name":"serverus","description":"Git branch server","version":"0.5.2","repository":{"type":"git","url":"git://github.com/BrandwatchLtd/serverus.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"maintainers":[{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"}],"main":"serverus","bin":{"serverus":"./serverus"},"preferGlobal":true,"directories":{"lib":"."},"scripts":{"test":"expresso"},"engines":{"node":">=0.4"},"dependencies":{"underscore":"1.2.x","backbone":"0.5.x","rimraf":"1.0.x","http-proxy":"0.8.x","cli":"0.3.x","stache":"0.1.x","express":"2.5.x","socket.io":"0.8.x"},"devDependencies":{},"optionalDependencies":{},"_npmUser":{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"},"_id":"serverus@0.5.2","_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"790500cb08367e462264d6f0bbc61e7db81e8a87","tarball":"https://registry.npmjs.org/serverus/-/serverus-0.5.2.tgz","integrity":"sha512-vvA3yr8A9fBwsBDxN1wlLaLfrII8eVrgOw9DMSh2FE0vBgI7/EfIrdD5SGjkosjhtKdi2EfFIoVbiJVeoD86BQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA6pqKxx4iaAzKG+C8ALb1dA9TAAkjG4+MT9lkdzn9nQIgWa2Sk+IcwqskWeUyHWYumPgWxEP6Iq2A4VbuuLzNNaI="}]}},"0.5.3":{"name":"serverus","description":"Git branch server","version":"0.5.3","repository":{"type":"git","url":"git://github.com/BrandwatchLtd/serverus.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"maintainers":[{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"}],"main":"serverus","bin":{"serverus":"./serverus"},"preferGlobal":true,"directories":{"lib":"."},"scripts":{"test":"expresso"},"engines":{"node":">=0.4"},"dependencies":{"underscore":"1.2.x","backbone":"0.5.x","rimraf":"1.0.x","http-proxy":"0.8.x","cli":"0.3.x","stache":"0.1.x","express":"2.5.x","socket.io":"0.8.x"},"devDependencies":{},"optionalDependencies":{},"_npmUser":{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"},"_id":"serverus@0.5.3","_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"c5ac83c5948d4ecf68648f9dd7d81006fc5a12d0","tarball":"https://registry.npmjs.org/serverus/-/serverus-0.5.3.tgz","integrity":"sha512-iJTXq5hVlRJuEC9FNuxgsoatv2ht2bWQ7/ja2qoCxVjfsU+rKLPyjftD7BMr3wimpz8ZQLnduV4M2JYmh74xkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLd052FNIr6s8yIeFNIJSmAWaZVe538SuDIhD32GnlAAiEAs0GkZasm9362Cm1yiNhp3RL7WjsMuT8Ox1G8oPeWRpI="}]}}},"readme":"Serverus\n=====\n\nServerus is a multi-process server for your git repository.\n\nFirst you need to initialise serverus:\n\n    serverus init path://to/myrepo.git\n\nA directory called myrepo.serverus will be created under the current directory - inside is a serverus.json file for your build/deploy settings, and a `_repo` directory containing a git checkout of your code.  It might take a few minutes to run this step, as serverus has to do a full `git clone` of your repository.\n\nYou probably want to update your settings at this point - edit serverus.json:\n\n    {\n        // Command to run before the main script, this will be run in the root directory of your code.\n        // This directory will be one level down from your serverus directory, so you can put shared scripts alongside serverus.json and run them with \"../\"\n        \"beforeExec\": \"command\",\n        // Args to pass to the beforeExec script\n        \"beforeExecArgs\": [],\n        // Executable to run - this should be in your system PATH and will be run in the root directory of your code.\n        \"exec\": \"node\",\n        // Arguments to run the executable with\n        // the string \"$PORT\" is special and will be replaced with the port that serverus wants this instance to run on\n        \"args\": [\"server.js\", \"--port=$PORT\"],\n        // An array of files you don't want to be deployed - serverus will also respect your .gitignore file\n        \"excludeFromDeploy\": [],\n        // Branches to run on startup (you can run others on demand)\n        \"branches\": [\"master\"],\n        // Config overrides for various branches\n        \"master\": {\n            \"args\": [\"server.js\", \"--port=80\"]\n        }\n    }\n\nWhen you're ready to serve your app, use:\n\n    serverus run\n\nVisit `http://localhost:8123/` to see your branches and that's it!\n\nAdditional config\n====\n\nYou can use the `--help` flag to get commandline options for `serverus run`:\n\n    Usage:\n      run [OPTIONS] [ARGS]\n\n    Options:\n      -p, --port [NUMBER]    Port for serverus to listen on (Default is 8123)\n      -s, --startingPort [NUMBER]Port to start branch servers listening on (Default is 8124, or port+1)\n      -r, --root [STRING]    Root URL of server instances, affects the URL linked\n                             to from the serverus server  (Default is /)\n      -d, --domain [STRING]  The domain name to serve branches up as subdomains of  (Default is localhost)\n          --force BOOL       Force run, remove __serverus.lock file from\n                             checkout if necessary\n      -h, --help             Display help and usage details\n\nYou can also specify the majority of these options in `serverus.json`, using the full name (eg `port` not `p`).\n","maintainers":[{"name":"stevem.brandwatch","email":"stevem@brandwatch.com"}],"time":{"modified":"2022-06-26T18:10:58.087Z","created":"2011-11-24T13:37:52.464Z","0.5.0":"2011-11-24T13:37:53.876Z","0.5.1":"2011-12-06T14:16:27.350Z","0.5.2":"2012-04-26T11:10:22.096Z","0.5.3":"2012-04-26T11:56:19.195Z"},"repository":{"type":"git","url":"git://github.com/BrandwatchLtd/serverus.git"}}