Giter Site home page Giter Site logo

jness / dungeon_brawl Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 4.65 MB

A simple Flask + MongoDB application for playing Dungeons and Dragons

License: Apache License 2.0

Dockerfile 0.13% Python 35.53% CSS 1.48% HTML 60.13% JavaScript 2.72%
dungeons-and-dragons docker docker-compose mongodb bootstrap flask

dungeon_brawl's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.