Infrastructure for beardandcode.com
- Vagrant
- Python/Virtualenv
To setup the remaining dependencies run tools/setup/install_dependencies.sh
- Use the virtualenv set up as part of installing the dependencies
$ source venv/bin/activate
- Start and provision development VM
$ vagrant up development-1
- Add domain names to /etc/hosts
$ sudo sh -c "echo \"192.168.100.10 development.beardandcode.com www.development.beardandcode.com \" >> /etc/hosts"
- Clean secrets, as these are encrypted using my key, and then setup your own set.
$ ./tools/clean.sh && ./tools/setup.sh
- Use Terraform to create the infrastructure. The wrapping shell script is used to inject credentials.
$ ./tools/terraform.sh apply