Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 436 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 436 Bytes

Dependencies

sudo apt install libmysqlclient-dev python-dev

Setup environment

$ python3 -m venv venv
$ . venv/bin/activate
(venv)$ pip install -U pip wheel
(venv)$ pip install -r requirements.txt

Create a config file

$ cp config.py.sample config.py
# Edit config.py with your favorite editor

Create the database

$ mysql -uUSER -p tekstmelding < create_db.sql

Run the server

(env)$ python tekstmelding.py