dmorn / live-tournament-platform

A platform for handling and visualizing leaderboards in tournaments of any kind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LTP

The Live Tournament Platform is ment to be used for tracking the scores of a variety of events, be it a dart competition or a bike race. At the moment though it is tuned to a specific tournament that this platform is going to host as first competition.

Features

  • Leaderboards live updates

Generate an Login URL for Admins

LTPWeb.generate_login_url("The Admin Name")

To login, click on the link on the desired platform.

Setup production db

Enter the IEX session

fly ssh issue --agent
fly ssh console --pty -C "/app/bin/ltp remote"

(https://fly.io/docs/elixir/the-basics/iex-into-running-app/)

The issue the following

config = LTP.EventStore.config()
:ok = EventStore.Tasks.Create.exec(config, [])
:ok = EventStore.Tasks.Init.exec(config, [])
  • Populate the database with the contents of the seed file.
  • To start with a clean state, change the DATABASE_URL secret and do this all over again.

About

A platform for handling and visualizing leaderboards in tournaments of any kind


Languages

Language:JavaScript 85.4%Language:Elixir 10.0%Language:CSS 4.2%Language:Dockerfile 0.3%Language:HTML 0.1%Language:Shell 0.0%Language:Batchfile 0.0%