Home

Awesome

The Angular-Go-Martini provisioner

An Ansible provisioner for AngularJS and Martini.

This provisioner installs the Angular-Go-Martini generator and all prerequisites. Currently it only supports Ubuntu 12.04.

Installation

Install Ansible and Vagrant.

Usage with AWS

Obtain an AWS account.

Set up AWS environment variables as follows:

export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXXXXXXXXX"    
export AWS_SECRET_ACCESS_KEY="XXXXXXXXXXXXXXXXXXXX"
export AWS_KEYPAIR_NAME="my-keypair-name"
export AWS_SSH_PRIVATE_KEY_PATH="/path/to/my-keypair.pem"

Run Vagrant:

vagrant up --provider=aws

Connect to the VM:

vagrant ssh

Destroy the VM when done:

vagrant destroy

Usage with VirtualBox

Install VirtualBox.

Run Vagrant:

vagrant up --provider=virtualbox

Connect to the VM:

vagrant ssh

Destroy the VM when done:

vagrant destroy