Skip to content

AkaBlas/akalisten

Repository files navigation

akalisten

Simple Python tooling to visualize the results of the participation polls for gigs of AkaBlas for the members. Uses

  • the API of the NextCloud Polls App to get the results. The API is documented here.
  • Jinja2 for templating the HTML output.
  • pydanctic definition of the data structures.

Installation and Usage

  • Make sure that you have installed Python 3.12 as well as pip.

  • Clone the repository and change into the directory:

    git clone https://github.com/AkaBlas/akalisten.git
    cd akalisten
    
  • Install the dependencies. It is recommended to use a virtual environment:

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
    
  • Copy the file .env.example to .env and adjust the values to your needs:

    cp .env.example .env
    nano .env
    
  • Run the script:

    python main.py
    
  • Open the file index.html in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published