A toolset for Dungoen Masters for Dungeons and Dragons 5th Edition.
The server is a Spring Boot project written in Kotlin. The client is a React application written in Typescript using BlueprintJS.
./gradlew bootRun
cd client
yarn install
yarn start
./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.
./gradlew bootBuildImage
(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 root@116.203.178.153 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