Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.24 KB

README.rst

File metadata and controls

35 lines (23 loc) · 1.24 KB

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.