No description
Find a file
2025-03-27 12:16:32 +01:00
static/css add: content 2024-11-28 12:08:48 +01:00
templates fix: link uri 2025-03-27 09:19:42 +01:00
.dockerignore change: to new build environment 2025-03-27 12:16:32 +01:00
.gitignore feat: links defined by environment variables 2025-03-20 18:08:08 +01:00
app.py fix: site monitoring on homepage link 2025-03-27 09:17:26 +01:00
docker-compose.yml fix: remove url variables; docs: updated to current 2025-03-21 08:36:35 +01:00
Dockerfile change: to new build environment 2025-03-27 12:16:32 +01:00
LICENSE add: license 2024-11-12 15:52:22 +00:00
README.md fix: remove url variables; docs: updated to current 2025-03-21 08:36:35 +01:00
requirements.txt add: requests library to requirements list 2024-12-02 11:33:03 +00:00

Installation

Setting up the environment

  1. Create a virtual environment:
python3 -m venv .venv
  1. Activate the virtual environment:
. .venv/bin/activate
  1. Install dependencies:
pip install requirements.txt
  1. Set the environment variables:
export DEBUGMODE=False

Or source the .env file:

cp .env.example .env # change the variables to suit your environment as needed
. .env
  1. Run the app:
waitress-serve --listen=0.0.0.0:8080 app:app

Docker

Building the container

docker build -t adrianux:latest . 

Running the container

docker run adrianux:latest

Docker Compose

docker compose up adrianux