GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - theoperatore/character: A better D&D 5e character sheet

BranchesTags
Open more actions menu

Latest commit

 

History

294 Commits
294 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
nginx
nginx
 
 
src
src
 
 
tests
tests
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.nginx
Dockerfile.nginx
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
image-upgrade.sh
image-upgrade.sh
 
 
package.json
package.json
 
 
webpack.dev.js
webpack.dev.js
 
 
webpack.prod.js
webpack.prod.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Character

The goal of this project is to create a web application to replace pen and paper character sheets while playing Dungeons & Dragons 5th Edition.

This app isn't meant to replace playing in-person; on the contrary, table top games are meant to be played surrounded by your closest friends (or your enemies...).

The latest compiled version of the app can be found here.

Dev Usage

Clone the repo, then:

yarn install
yarn start

This will install all dependencies, build all assets, serve the application on port 9966.

NOTE you will need to set up your environment first in order for authentication and an actual database to work. See below Environment variables / Secrets.

Run tests with:

yarn test

Environment variables / Secrets

All of the secret keys and paths needed to run the application are tied to Firebase. In order for authentication and your database to work, you need to both configure a Firebase database and set both your local and deploy environment with the following variables:

FIREBASE_API_KEY=<your key>
FIREBASE_AUTH_DOMAIN=<your domain>
FIREBASE_DATABASE_URL=<your database url>
FIREBASE_STORAGE_BUCKET=<your storage bucket>

This is most easily accomplished using dotenv, which this project is already set up to do.

Create a file named .env at the root of this project and put in the above variables (with their values) in that file. When the app is built, they will be available.

IMPORTANT do not commit the .env file (the git repo is already configured to ignore it, but still).

Deployment

This application is deployed using docker and make.

Deployment requires three things:

  1. The target machine running docker
  2. The target machine authenticated via docker login (to docker hub)
  3. The target machine being accessible via ssh

If those three requirements are met, then to deploy:

make package push deploy

Once successful, the target machine will have a new nginx image running with the latest compiled application assets.

To view more detailed info on what these steps are actually doing, check out the Makefile at the root of the project.

NOTE

Currently, you'll have to edit the Makefile in order to deploy to any place you want. In the future, it'll most likely be an environment variable.

Change the first variable to point to your domain: DEPLOY_HOST.

Libs

Front end:

  • React as the web framework
  • ImmutableJS for easy state / component updating performance
  • Swiper for swiping!
  • Stylus for css preprocessing

Server side:

  • Firebase because everything can be done using client-side code!

License

Just send a nod my way if you use this in any way :)

MIT

About

A better D&D 5e character sheet

Topics

dnd5edungeons-and-dragons

Resources

Readme
Activity

Stars

22 stars

Watchers

4 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.