Welcome to the vagrant-ubuntu-nodejs wiki!
- [vagrant] ()
- [virtualbox] ()
- Clone this repo. Goto vagrant subdirectory.
git clone https://github.com/kompseye/vagrant-ubuntu-nodejs.git
cd vagrant-ubuntu-tc
cd vagrant
vagrant up
- SSH to locally running ubuntu! vagrant ssh
- nginx is already running at port 80
- edit your /etc/hosts file
- add: 192.168.33.10 vagrant-test.local.com
- to see nginx served app:: http://vagrant-test.local.com
- to see nginx default landing page: http://192.168.33.10
- to see manually run node.js app:
cd node
node main.js
- then goto browser: http://localhost:3000