A (hopefully) easy way to get started with Mirage by using Vagrant.
- Fork this repo
- Install VirtualBox
- Install Vagrant
- Generate and download an X509 certificate from AWS. Put them in the puppet folder.
- Edit puppet/default.pp and change AMAZON_CERT_NAME to match the common part of the filename for the key/certificate you downloaded
- Fill in all your EC2 access information in puppet/setup.sh
- Run vagrant up
- Run vagrant ssh
- In your vm, cd /vagrant
- Run puppet/setup.sh. Wait. Drink some coffee.
- Run make && make run
- Visit localhost:8080 on the host machine--you should see "test" as the response
- Run vagrant ssh
- cd /vagrant
- make deploy
- ec2-run-instances [AMI THAT WAS OUTPUT WITH LAST COMMAND]
Thanks to @avsm for his work on helping me get started with mirage and anyone else who has worked on mirage or mirage-www.