Skip to content

MartinHaeusler/dndbase

Repository files navigation

D&DBase

A toolset for Dungoen Masters for Dungeons and Dragons 5th Edition.

Technical Details

The server is a Spring Boot project written in Kotlin. The client is a React application written in Typescript using BlueprintJS.

Running the Server

./gradlew bootRun

Running the Client

cd client
yarn install
yarn start

Creating an executable bundle

./gradlew bootJar

The executable will be a *.jar file located in /build/libs. This artifact can be run with java -jar <filename> and includes both the server and the client.

Creating a docker image

 ./gradlew bootBuildImage

Publishing

(Requires SSH Credentials)

On your development machine:

 # build the image
 ./gradlew bootBuildImage

 # transfer the image to the remote server
 docker save dndbase:latest | bzip2 | ssh [email protected] docker load

On the remote server:

 # switch to the DNDBase deployment directory
 cd ~/deployment/dndbase
 # shut down the previous version
 docker compose down
 # start the new version
 docker compose up -d

About

Dungeons and Dragons 5e Data and Tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published