No description
Find a file
2025-03-28 10:19:07 +01:00
paste feat: initial commit 2025-03-28 10:08:31 +01:00
static/css feat: initial commit 2025-03-28 10:08:31 +01:00
templates fix: naming for public release 2025-03-28 10:14:28 +01:00
.dockerignore feat: initial commit 2025-03-28 10:08:31 +01:00
.gitignore feat: initial commit 2025-03-28 10:08:31 +01:00
app.py add: license and readme 2025-03-28 10:19:07 +01:00
Dockerfile fix: removed healthcheck in Dockerfile 2025-03-28 10:15:34 +01:00
LICENSE add: license and readme 2025-03-28 10:19:07 +01:00
README.md add: license and readme 2025-03-28 10:19:07 +01:00
requirements.txt feat: initial commit 2025-03-28 10:08:31 +01: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 -r requirements.txt
  1. Set the environment variables:
export DEBUGMODE=False
export PASTE_DIR=paste

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