Skip to content

davismr/wfrp.character

Repository files navigation

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

Installing Weasyprint

This is only used for generating the PDFs

Use MacPorts as detailed here: https://doc.courtbouillon.org/weasyprint/stable/first_steps.html

If you get OSError due to missing libraries, you may need to export the library locations.

export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib:$DYLD_FALLBACK_LIBRARY_PATH

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published