Files
wiganhbc-competition/README.md
AcidUK 4da511a7d5 Created database class.
Tidied app.py so that it only contains controller logic.
Added error handling for if number of entrants exceeds number of possible identifiers
Updated test coverage to test for all identifiers, as well as error case
2019-07-06 12:43:49 +01:00

2.6 KiB


Logo

Wigan Homebrew Club Competition Entry

A project to facilitate anonymous entry into Wigan HBC competitions!

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Screen Shot

This project is to allow homebrew club members to be given an identifying number/letter to put on their bottles for competitions. The goal is to allow all members to take part with no invigilator/organiser required. It support around 100 entries (alphabetical identifiers are given first, then numerical)

Built With

This project is built in python and deployed in docker.

Getting Started

Prerequisites

For development you need to have python3 installed along with pip. You can then set up a virtualenv and install requirements

pip install -r requirements.txt

Running the project

A sample Dockerfile is included. Please note that you must supply an HBC_DB_PATH environmental variable. Below is a sample docker compose that can be used after you clone this repo.

version: '3'

services:
  wiganhomebrew:
    container_name: wiganhomebrew
    build: <relative path to repo directory>
    restart: always
    environment:
      - HBC_DB_PATH=/data
    volumes:
      - sqlite-database-volume:/data
    ports:
      - 5000:5000

volumes:
  sqlite-database-volume:

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Sean Cusack - seancusack@gmail.com

Project Link: https://git.cusack.cloud/acid/wiganhbc-competition