Skip to content

Chaostreff-Potsdam/zonen-tags

Repository files navigation

A simple Website to generate and upload images to the Chaos#Zonen-Tags

This is a simple website to generate and upload images to Open EPaper Link Access Point.

Getting Started

Prerequisites

Installing

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt

Running

flask --app tag_configurator.app run --port 8000 --host 0.0.0.0

Configuration

Before running the server for the first time, you have to configure the IP address of the Open EPaper Link access point. There are two ways to do this.

1. Using the config file

  • Copy the config.toml.example file to config.toml
  • Open the config.toml file in a text editor
  • Set the AP_IP variable to the IP address of the access point
AP_IP = "1.2.3.4"

2. Using an environment variable

Alternatively you can set the environment variable FLASK_AP_IP either using export FLASK_AP_IP=1.2.3.4 or when starting the server:

FLASK_AP_IP=1.2.3.4 flask --app tag_configurator.app run --port 8000 --host 0.0.0.0  

About

No description, website, or topics provided.

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published