Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A (hopefully) easy way to get started with Mirage by using Vagrant
Branch: master
Pull request Compare This branch is even with mthurman:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
puppet
src
.gitignore
Makefile
README.md
TODO
Vagrantfile

README.md

mirage-vagrant

A (hopefully) easy way to get started with Mirage by using Vagrant.

Getting started

  1. Fork this repo
  2. Install VirtualBox
  3. Install Vagrant
  4. Generate and download an X509 certificate from AWS. Put them in the puppet folder.
  5. Edit puppet/default.pp and change AMAZON_CERT_NAME to match the common part of the filename for the key/certificate you downloaded
  6. Fill in all your EC2 access information in puppet/setup.sh
  7. Run vagrant up
  8. Run vagrant ssh
  9. In your vm, cd /vagrant
  10. Run puppet/setup.sh. Wait. Drink some coffee.
  11. Run make && make run
  12. Visit localhost:8080 on the host machine--you should see "test" as the response

Deploy to Amazon

  1. Run vagrant ssh
  2. cd /vagrant
  3. make deploy
  4. ec2-run-instances [AMI THAT WAS OUTPUT WITH LAST COMMAND]

Thanks

Thanks to @avsm for his work on helping me get started with mirage and anyone else who has worked on mirage or mirage-www.

Something went wrong with that request. Please try again.