![alt text](https://raw.githubusercontent.com/MichaelPak/secretsanta/master/app/static/santa.png)
![dockerhub](https://camo.githubusercontent.com/701c015bb0401d75bfd0730b246656e8406e2477d5b974cf84ca49e2a901b20d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f636b65722d6875622d677265656e2e737667)
# Create keypair
$ ssh-keygen -f ~/.ssh/id_infra
# Init terraform
$ terraform init iaac/
# Install ansible rolers
$ ansible-galaxy install geerlingguy.docker
$ ansible-galaxy install antoiner77.caddy
# Create user list
$ cp resources/users-example.yml resources/users.yml
# Initialize database
$ pipenv run loaddb
# Run flask server
$ pipenv run server
# Create infra by terraform
$ pipenv run tfapply
# Setup infra by ansible
$ pipenv run ansplay --ip 127.0.0.1
# Destroy infra by terraform
$ pipenv run tfdestroy
# Need docker & docker-compose
$ docker-compose run