This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

18 lines
459 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Dependencies:
sudo apt-get install libmysqlclient-dev python-dev
Setup environment:
tekstmelding$ virtualenv env
tekstmelding$ . env/bin/activate
(env)tekstmelding$ pip install -r requirements.txt
Create a config file:
tekstmelding$ cp config.py.sample config.py
# Edit config.py with your favorite editor
Create the database:
tekstmelding$ mysql -uUSER -p tekstmelding < create_db.sql
Run the server:
(env)tekstmelding$ python tekstmelding.py