Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

The frontend for OpenSplit written in VueJS

Notifications You must be signed in to change notification settings

OpenSplit/opensplit-frontend

Repository files navigation

opensplit-vuejs

Build Status

new fancy webfrontend for the OpenSplit project

CSS-Framework: bulma.io

Build Setup

# install dependencies
yarn install

# serve with hot reload at localhost:8080
yarn serve

# build for production with minification
yarn build

Run the backend

For local development you need a backend running. The easiest way is to use the prebuild Docker container

  • copy the example config.py from the backend repo to config.py
  • Start the backend container with
docker run --rm --name opensplit_backend -v $(pwd)/config.py:/code/config.py:ro -p 5000:5000 -it opensplit/backend:stable
  • Open a second terminal to tun these commands to create a new database in the container and populate it with some testdata
docker exec -it opensplit_backend  /bin/sh -c "pipenv run python create_db.py"
docker exec -it opensplit_backend  /bin/sh -c "pipenv run python init_testdata.py"

Now you have the backend running on port