Using this to learn more about Puppet and as the frontend part of another example for Microservice Authentication and Authorisation.

Created and tested on Mac OSX 10.9.5, Vagrant 1.6.3, VirtualBox 4.3.6, otherwise using versions/boxes given in VagrantFile and Puppet config.

Start

# Clone
git clone git@github.com:stevenalexander/vagrant-ubuntu-14-nginx-angularjs.git
# Get JS and CSS library resources (AngularJS and Bootstrap) for the site using npm and bower
./update_dependencies.sh
# Starts up VM and runs puppet to setup, downloading box if necessary
vagrant up
# On completion nginx should be running and the AngularJS site accessible from host at http://192.168.33.10

AngularJS

The AngularJS site lives in the site_content puppet module and can be run separately using npm and tested.