Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 918 Bytes

File metadata and controls

42 lines (27 loc) · 918 Bytes

Infrastructure for beardandcode.com

Requirements

  • Vagrant
  • Python/Virtualenv

To setup the remaining dependencies run tools/setup/install_dependencies.sh

Setup development VM

  1. Use the virtualenv set up as part of installing the dependencies
$ source venv/bin/activate
  1. Start and provision development VM
$ vagrant up development-1
  1. Add domain names to /etc/hosts
$ sudo sh -c "echo \"192.168.100.10 development.beardandcode.com www.development.beardandcode.com \" >> /etc/hosts"

Setup infrastructure

  1. Clean secrets, as these are encrypted using my key, and then setup your own set.
$ ./tools/clean.sh && ./tools/setup.sh
  1. Use Terraform to create the infrastructure. The wrapping shell script is used to inject credentials.
$ ./tools/terraform.sh apply