Adrianux.net/README.md
ahoemann 16b7b2e0ba
All checks were successful
/ update (push) Successful in 0s
remove: unused variable; fix: debug mode off
2024-12-05 12:44:54 +01:00

568 B

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
# /etc/systemd/system/adrianux.service
[Unit]
Description=WSGI app
After=network.target

[Service]
Type=simple
User=adrianux
WorkingDirectory=/opt/Adrianux.net
ExecStart=/opt/Adrianux.net/.venv/bin/waitress-serve --listen=127.0.0.1:8080 app:app
Restart=always

[Install]
WantedBy=multi-user.target