{"_id":"nserv","_rev":"56-a3fbac54f5c440bbfce6d5866064e250","name":"nserv","description":"Nodejs hosting and deployment","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.2":{"name":"nserv","version":"0.0.2","description":"Nodejs hosting and deployment","keywords":["deploy","git","PaaS","cli"],"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"dependencies":{"colors":"0.5.1","commander":"0.4.2","http-proxy":"0.7.6","forever":"0.7.4"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"bin":{"nserv":"./bin/nserv"},"engines":{"node":"0.4.12"},"_npmUser":{"name":"bradleyg","email":"bradley.griffiths@gmail.com"},"_id":"nserv@0.0.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"9290b83c26624ee526083f94a78df242b7098f5e","tarball":"https://registry.npmjs.org/nserv/-/nserv-0.0.2.tgz","integrity":"sha512-GC7+JsidM1KZtfcXKeScHmAtoihYQ86wLOlH409GepnPTH//845sfRL+E4CQ+jq9Oaj3+mXPo8QMirFjtI9Msg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ68QVDXnzza71rK0pM6K+X90ycHmERljdz1AipAUuVwIhAJwdrz6IE0qMGWtSy19gNPpn0TdB/8ddn9J6jAaQIyQi"}]},"maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}],"directories":{}},"0.0.3":{"name":"nserv","version":"0.0.3","description":"Nodejs hosting and deployment","keywords":["deploy","git","PaaS","cli"],"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"dependencies":{"colors":"0.5.1","commander":"0.4.2","http-proxy":"0.7.6"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"bin":{"nserv":"./bin/nserv"},"engines":{"node":"0.4.12"},"_npmUser":{"name":"bradleyg","email":"bradley.griffiths@gmail.com"},"_id":"nserv@0.0.3","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"34511574a1aa1447b191e8d53122a9f704bfdac0","tarball":"https://registry.npmjs.org/nserv/-/nserv-0.0.3.tgz","integrity":"sha512-4wS/7qnVHsncQFOAjbZxOAgUjozQU+ouqWEwBsstljk4EGIUqNzKFbKU83DMFrTzDoXUj9ryAX3ODZBsclhJzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdKntfs79jm46N17MIZZcEWMBa+D28Yg1yG23CVcAEBAiEAwa5hUQ7EvU14QRuSuizECIWbOaEacdxjSUcwZO0A5Ew="}]},"maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}],"directories":{}},"0.0.4":{"name":"nserv","version":"0.0.4","description":"Nodejs hosting and deployment","keywords":["deploy","git","PaaS","cli"],"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"dependencies":{"colors":"0.5.1","commander":"0.4.2","http-proxy":"0.7.6"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"bin":{"nserv":"./bin/nserv"},"engines":{"node":"0.4.12"},"_npmUser":{"name":"bradleyg","email":"bradley.griffiths@gmail.com"},"_id":"nserv@0.0.4","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"afacbf5bc7d3d4012a0869c4c96808d63a2fe667","tarball":"https://registry.npmjs.org/nserv/-/nserv-0.0.4.tgz","integrity":"sha512-mj8bBJrnjn3vBq27+Xjv8GxFyxf7tjEslHdNQJRBkdmQX4KWTpMA6OR7z1GI2b4PpvVG428yjcPBTvvYLlzMMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwcGJjPj1R71XdDgX3pgP3fvSPcezP3QcT9IudPGEAlAiA5vlXfBilkIBgzMB0deOxNUT4NrAQx3/fU3fGs5EV9QQ=="}]},"maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}],"directories":{}},"0.0.5":{"name":"nserv","version":"0.0.5","description":"Nodejs hosting and deployment","keywords":["deploy","git","PaaS","cli"],"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"dependencies":{"colors":"0.5.1","commander":"0.4.2","http-proxy":"0.7.6"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"bin":{"nserv":"./bin/nserv"},"engines":{"node":">= 0.4.12"},"_npmUser":{"name":"bradleyg","email":"bradley.griffiths@gmail.com"},"_id":"nserv@0.0.5","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-2","_nodeVersion":"v0.6.3","_defaultsLoaded":true,"dist":{"shasum":"fcf438a9b20d1e3c49372772de2d6826d5f2913b","tarball":"https://registry.npmjs.org/nserv/-/nserv-0.0.5.tgz","integrity":"sha512-ZW3KV3G0+0LFdr27r0ynUzLA5VN1P2DchnaS7mdN2uEwdHZJtb6DndEH8ZKBget/Z/07Xfv+WggMANKscY9J1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1Wdzd0JqSG/F54qE+ct6axydLlkir/Ea7SdI+5yLK0AiEA1fJq7kvAEJU9k6ZKI0K906bseRDFwtmx6J6lnMQy7QI="}]},"maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}],"directories":{}},"0.0.6":{"name":"nserv","version":"0.0.6","description":"Nodejs hosting and deployment","keywords":["deploy","git","PaaS","cli"],"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"dependencies":{"colors":"0.5.1","commander":"0.4.2","bouncy":"1.0.5"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"bin":{"nserv":"./bin/nserv"},"engines":{"node":">= 0.4.12"},"_npmUser":{"name":"bradleyg","email":"bradley.griffiths@gmail.com"},"_id":"nserv@0.0.6","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-2","_nodeVersion":"v0.6.3","_defaultsLoaded":true,"dist":{"shasum":"0ff119a74c2c24b23b4f6dae9b57e7d56218a771","tarball":"https://registry.npmjs.org/nserv/-/nserv-0.0.6.tgz","integrity":"sha512-Oz61EvFnyQsk7T1gmevkq88497vXnN8VbF6/9SOGihtcXZT85yhoKREBhCXSuAwJ82fGApWLpPPaTEl6jvHxPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDf03ZZ2RiPOmJABAzfsTrpK7j8Xp/2dPQEeGEoKzBFuAiEA46ZCB/HXWTulwymTvO/Bi2n/Vzb75VHkugmndXnmpYo="}]},"maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}],"directories":{}},"0.0.7":{"name":"nserv","version":"0.0.7","description":"Nodejs hosting and deployment","keywords":["deploy","git","PaaS","cli"],"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"dependencies":{"colors":"0.6.0-1","commander":"0.5.2","bouncy":"1.1.0"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"bin":{"nserv":"./bin/nserv"},"engines":{"node":">= 0.6.0"},"_npmUser":{"name":"bradleyg","email":"bradley.griffiths@gmail.com"},"_id":"nserv@0.0.7","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"0614678a1d61805292bf4d167603290d8b1aa0b1","tarball":"https://registry.npmjs.org/nserv/-/nserv-0.0.7.tgz","integrity":"sha512-2UKXKDJiHb4fgeFBRFWWVbqmPhfj15fFJ/O/ihhhdvx0eRvruhjjMdGF4XRNCRKvD8JV+IINNif9rUjrhfMTZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6E40Z8JxyGE85HkGYj6sFlbf64cJjE1M1+qGyTwzRoAiEA7E5K/QnCtjdtxu+64bOn5Y0UmXB9uNTMNgF2uoGX4L4="}]},"maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}]}},"readme":"Nserv wants to be a [Nodejitsu](http://nodejitsu.com/) / [Heroku](http://www.heroku.com/) / [No.de](https://no.de/) style PaaS for deploying node.js applciations which can be hosted on your own servers. Nserv uses [nodejitsu](http://nodejitsu.com/#technology) applications [forever](https://github.com/indexzero/forever) and [node-http-proxy](https://github.com/nodejitsu/node-http-proxy) so is running entirely on nodejs. A total works in progress, probably with a lot of bugs.  \n \n## Features:\n* Git deployment of applications\n* Simple management of deployed applications\n\n## Setup:\n* Create a fresh ubuntu 10.04 instance, linode or rackspace is good: [http://library.linode.com/getting-started##sph_deploy-a-linux-distribution](http://library.linode.com/getting-started##sph_deploy-a-linux-distribution)  \n* Point a domain name to your server or add one to /etc/hosts: [http://jorgebernal.info/2009/07/17/42foo-virtual-hosts-web-development/](http://jorgebernal.info/2009/07/17/42foo-virtual-hosts-web-development/)  \n* `sudo npm install forever -g`  \n* `sudo npm install nserv -g`  \n\n## Usage:\n`nserv start` - starts running the nserv service at localhost:8080\n`nserv stop`  \n`nserv create (domain)` - this will add the domain to nserv proxy table and start proxying requests  \n`nserv remove (domain)`  \n`nserv list` - lists all applications  \n`nserv help`\n  \nYou must first start the nserv server: `nserv start`, this will create a http proxy table and route any domains added to it via: `nserv create domain.com`.\n\nAfter creating an application you will be shown a git remote within the console that you can add to your local repo. Once added execute `git push nserv master` and your app will be updated and restarted automatically.  \n\nFor now your main server file must be called 'server.js' and your app must listen on `process.env.PORT`. ~~If you provide a package.json file for npm modules add a .gitignore file to remove your node\\_modules folder. Npm is installed on nserv and installs dependencies automatically.~~  \n\n## TODO:\n* Define the main server.js in the package.json\n* Automatic install of npm modules\n* Hard start and stop of applications (without the need to delete or update)  \n\n## Good stuff:\n[npm](http://npmjs.org/)  \n[nodejitsu](http://nodejitsu.com/#technology)  \n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 Bradley Griffiths &lt;bradley.griffiths@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"bradleyg","email":"bradley.griffiths@gmail.com"}],"time":{"modified":"2022-06-22T11:42:47.226Z","created":"2011-11-28T21:54:14.695Z","0.0.2":"2011-11-28T21:54:36.011Z","0.0.3":"2011-11-29T02:03:38.392Z","0.0.4":"2011-11-29T23:51:42.351Z","0.0.5":"2011-12-02T17:40:28.286Z","0.0.6":"2011-12-05T23:10:40.684Z","0.0.7":"2012-01-26T11:01:11.360Z"},"author":{"name":"Bradley Griffiths","email":"bradley.griffiths@gmail.com"},"repository":{"type":"git","url":"git://github.com/bradleyg/nserv.git"},"readmeFilename":""}