Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.59 KB

README.md

File metadata and controls

58 lines (44 loc) · 1.59 KB

Installation

Python application codecov License: CC BY-NC-SA 4.0 Code style: black

Warhammer Fantasy Roleplay 4th Edition Copyright Games Workshop and licensed to Cubicle 7 Entertainment Limited. All content is copyright their respective authors.

Create a Python virtual environment

python3 -m venv my_env

Activate virtual environment

. bin/activate

Upgrade packaging tools

pip install --upgrade pip setuptools

Install the project in editable mode with its testing requirements

pip install -e .[testing]

Run the tests

pytest

Run the project

Initialise the database, this will silently not do anything if a db already exists. You have to delete the db and re-initialise on any db structure change. There is no db migration facility yet.

init_db development.ini
pserve development.ini