Skip to content

MichaelPak/secretsanta

Repository files navigation

alt text

Secret Santa

CircleCI dockerhub

Setup

# 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

Commands

# 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

Run

# Need docker & docker-compose
$ docker-compose run

Dependencies

About

Flask + Redis for Secret Santa game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published