HUB
Sign inSign up
secretsanta logo

michaelpak/secretsanta

By michaelpak

•Updated about 8 years ago

Flask + Redis for Secret Santa Game

Image
0

5.3K

michaelpak/secretsanta repository overview

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

Tag summary
Recent tags
Content type
Image
Digest
Size
96.8 MB
Last updated
about 8 years ago
docker pull michaelpak/secretsanta:latest