A simple Flask + MongoDB application for playing Dungeons and Dragons
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conditions
monsters
spells
static
templates
.gitignore
Dockerfile
LICENSE
README.md
app.py
docker-compose.yml
populate.py
requirements.txt

README.md

Dungeon Brawl

Dungeon brawl is a Python Flask application with a MongoDB datastore, the stack runs inside Docker with the help of docker-compose.

Using this application a Dungeon Master can easily track all things combat for their Dungeons and Dragons group.

Some of the application's major features include:

  • Monster search
  • Spell search
  • Conditions search
  • RPG Dice
  • Combat turn tracking

alt text

A demo of the application can be viewed here: http://dnd.nessy.info

Requirements

Datastore

Mongo's collections are ONLY populated during container startup, and ONLY if the collection does not already exist; this is thanks to the populate.py script.

If you need to purge the datastore, first stop any running containers:

$ docker-compose down

then delete the mongo_data/ directory, this directory will be recreated and populated the next time you start the stack.

Startup

Use docker-compose to start the stack:

$ docker-compose up

Once running visit: http://localhost:5000/