# 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