Giter Site home page Giter Site logo

odr-live-timing's Introduction

ODR Live Timing

Website

This repository hosts the website for the ODR live timing site. Every time a new commit is pushed, the /public/ site will redeploy via github actions to the live firebase site. livetiming.html is the file which contains timing info.

Worker Service

This application runs as a background service on a windows machine. This can be used on the timing computer to connect to the git repo, move the new timing file in, stage, commit, and push changes to git. GitHub will detect these changes and move them onto the firebase server.

Installation & Usage

Required before installation:

.NET 6.0 Hosting Bundle: https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Git For Windows: https://gitforwindows.org/
A GitHub Account: https://github.com/
A GitHub Personal Access Token, with Repo permissions: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#personal-access-tokens-classic
A clone of this repository

First, download the release from the Releases page in GitHub. Run the .msi installer. Next, configure the appsettings.json file (located at C:\Program Files\Tristan Pressley\ODR Live Timing Service\ by default)

In the app settings file, configure the following selections under "options"

"SourceFilePath": - this is where the live timing software drops the HTML file "DestinationFolderPath": - This is where we are going to drop the file within downloaded repository, including filename "RepositoryPath": - This is the path to the repo on your machine "Username": "", - GitHub Username "PersonalAccessToken": "" - GitHub personal access token

After changing all of these settings, open task manager, go to services, and find "ODR Live Timing Service". Restart the service.

The process will now run automatically while the laptop is running. When new live timing files are detected, they will be automatically pushed to GitHub and then to firebase for public access.

odr-live-timing's People

Contributors

tpressley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.