A webapp to help me play Dungeons & Dragons with my friends.
- Create a virtual env, activate it.
sudo apt install python3-venv; python3 -m venv env; source env/bin/activate
- Install this package:
pip install .
- Use the
database.py
script in/setup
to create a new database. - Do
python3 -m tabletop_story
for Flask's built-in local development server (localhost:5000
). - Use the
uwsgi.sh
shell script to run a uWSGI server (0.0.0.0:5000
). - See the readme inside
/setup
for help with setting up a production server.
- Stop running server
git pull
the new code- Activate the venv and
pip install .
flask db upgrade
to apply any database migrations
character.svg
is an Inkscape SVG with layers. I toggle the visibility of layers and export to PNGs which go into app/static/img/character
for use in the actual app.