Nserv wants to be a Nodejitsu / Heroku / No.de / AppFog style PaaS for deploying node.js applciations which can be hosted on your own servers. Nserv uses nodejitsu applications forever and node-http-proxy so is running entirely on nodejs. A total works in progress, probably with a lot of bugs.
- Git deployment of applications
- Automatic install of npm modules
- Simple management of deployed applications
- Create a fresh ubuntu 10.04 instance, linode or rackspace is good: http://library.linode.com/getting-started##sph_deploy-a-linux-distribution
- Point a domain name to your server or add one to /etc/hosts: http://jorgebernal.info/2009/07/17/42foo-virtual-hosts-web-development/
./nserv create (domain)
./nserv delete (domain)
After adding an application you will be provided with a git remote that you can add to your local repo. Once added execute
git push nserv master and your server will updated. For now your main server file must be called 'server.js'. 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.
- Use a Procfile to choose the main application file
- Allow install via npm