This is a web-app for managing the monster ability decks in the board game Gloomhaven.
This is a fork of johreh's Gloomy Companion. This fork focuses on adding support for synchronized game state across browsers, in order to support remote play. It can be configured to store the state in Firebase, and can manage multiple game states at the same time. Each game session is identified by a unique URL, which is generated on initial visit to the game site.
- Open a shell to your source checkout.
- Run
yarn
to install all dependencies - Run
yarn run serve
to build the project and launch a local webserver. The webserver will monitor the source files for changes and rebuild the code automatically.
If you would prefer to use a docker environment for testing, the docker.sh
script provides a convenient way of launching a docker instance and running the yarn commands above.
- Open a shell to your source checkout.
- Run
mv index.prod.html index.html
- Run
yarn
to install all dependencies. - Run
yarn run build:prod
to build the project. - Point your webserver of choice at the source checkout.
To make a custom configuration, create a file in the source directory named "config.local.js".
export const localConfig = {
useFirebase: true,
firebase: {
apiKey: "your apiKey here",
authDomain: "your authDomain here",
databaseURL: "your databaseURL here",
projectId: "your projectId here",
storageBucket: "your storageBucket here",
messagingSenderId: "your messagingSenderId here"
}
};