727 B
727 B
Installation
Setting up the environment
- Create a virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
. .venv/bin/activate
- Install dependencies:
pip install requirements.txt
- 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
- 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