Skip to content

mruoss/jasstafel

Repository files navigation

Jasstafel - Offline Web Application

A web application built with React, Redux, react-konva and other JS libraries. The app displays a chalk board commonly used in Switzerland to note the score for several card games.

The app makes use of the HTML5 application cache to make the it available when offline.

I just want to use the application

I want to build or run it

Use yarn or npm to build and run the app.

Run the development server:

yarn start

Build the app

This builds the html and JS bundle and saves them in the dist folder.

yarn build

Create a docker image with the app and run it

docker build -t jt_build -f "./build/Dockerfile.build" .
docker build -t jt_app -f "./build/Dockerfile" .

docker run --name jt_app --rm -d -p 8080:80 jt_app

Visit the app via http://localhost:8080/