Interactive DnD perktree written with django, vue and d3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Pavle Portic 9914846389
Update docker-compose
1 year ago
backend Bump django from 2.2.8 to 2.2.10 in /backend 3 years ago
frontend Update js dependencies 3 years ago
.gitignore Move docker volume to /mnt 3 years ago
Dockerfile-backend Add build deps to dockerfile 3 years ago
Dockerfile-frontend Add docker files 3 years ago
LICENSE Initial commit 3 years ago Update 3 years ago
docker-compose.yml Update docker-compose 1 year ago
nginx.conf Update nginx config to redirect /admin to django 3 years ago


Interactive DnD perktree written with django, vue and d3

How to run


The easiest way to run it is using docker-compose.

  1. Create a .env file with the following entries
SECRET_KEY=[long random string]
  1. Build the images with docker-compose build
  2. Run it with docker-compose up -d
  3. Set up a reverse proxy pointing to the port set in docker-compose.yml (8019 by default), or change the port to 80 (There is no ssl support inside the container as of now)


  1. Build the frontend
cd frontend
yarn/npm install
yarn/npm build
  1. Install backend requirements from the pipfile using your python package manager of choice (though you should really use pipenv)
  2. Set up a database (postgresql is recommended, though myql should work)
  3. Edit thes script in the backend directory to add all the necessary env variables (you can find them in the docker-compose.yml file)
  4. Run the backend using the script
  5. Set up a web server to serve the frontend static files and proxy requests to the backend. A sample configuration can be found in nginx.conf

Though I do recommend running it with docker, as it's much easier to set up and maintain.