Skip to content

benmmurphy/nodejs_vagrant_helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of using ncluster with capistrano.

Dependencies

Capistrano

gem install capistrano

Nodejs Vagrant

gem install vagrant

git clone git://github.com/benmmurphy/nodejs_vagrant.git
cd nodejs_vagrant

vagrant box add vagrant-oneiric https://github.com/downloads/benmmurphy/nodejs_vagrant/package_4.1.8.box
vagrant up
vagrant ssh-config >> ~/.ssh/config
ssh default #to check ssh is working

Running

git clone git://github.com/benmmurphy/nodejs_vagrant_helloworld.git
cd nodejs_vagrant_helloworld
cap deploy:setup
cap deploy

ssh default
curl -v http://localhost:3000

Running behind Nginx

cap staging_nginx deploy:setup
cap staging_nginx deploy

ssh default
<< add 127.0.0.1 helloworld to /etc/hosts >>
curl -v http://helloworld

Similar Tools

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published