5ecombatsimulator / dnd_combat_simulation

A combat simulator for D&D 5th edition
GNU Affero General Public License v3.0
22 stars 5 forks source link
5e combat dnd dnd5e dungeonsanddragons simulation

D&D 5e Combat Simulator

Version 0.1

Setup

Requirements to run locally:

  1. Docker: https://www.docker.com/products/docker-desktop

Steps to set up

  1. Clone repo to local
  2. cd into directory
  3. Edit the secret_template.env - each line will tell you what to put in. After, rename it to secret.env.
  4. Run: "docker-compose build" - this should build both the frontend and backend environments for you.
  5. Run: "docker-compose run api python3 manage.py migrate"
  6. Go to: https://github.com/ceryliae/DnDAppFiles/blob/master/Bestiary/Monster%20Manual%20Bestiary.xml and download that file. Put it in the xml_data/data directory
  7. Run "docker-compose run api python3 manage.py data_setup"
  8. Run "docker-compose up"
  9. Head to localhost:3000/ to view the app!