Skip to content

A simple Flask + MongoDB application for playing Dungeons and Dragons

License

Notifications You must be signed in to change notification settings

jness/dungeon_brawl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Requirements

Starting Containers

Use docker-compose to start the stacks:

$ docker-compose up

Once complete you will be able to visit the local web interface:

http://localhost:5000/

Populate Data

MongoDB's collections are populated as a module (see modules/ directory).

Once you've started the containers, use docker-compose exec to run module population.

$ docker-compose exec web scripts/populate.py firestorm_peak

Purge Data

If you wish to populate a new module, first purge the existing data:

$ docker-compose exec web scripts/purge.py

Stopping Containers

When you are done with the application use docker-compose to stop the containers:

$ docker-compose down