Open Split Time image

Open Split Time

endurance event data management

From GitHub

Timed endurance event data


Readme from GitHub


OpenSplitTime is a site for endurance athletes, fans and families, race directors, volunteers, support crews, and data geeks. Our purpose is simple: to make it easy to collect endurance event data, play with it, plan with it, safely archive it, and never worry about it again.

The site is built and maintained by OpenSplitTime Company, a Colorado nonprofit corporation. If you find the website useful, motivating, entertaining, or strangely beautiful, please consider making a small donation to help us keep the doors open. OpenSplitTime Company is registered with the U.S. Internal Revenue Service as a 501(c)(3) charitable organization. Your donations are probably tax deductible (but if you have any question you should ask your tax advisor about that stuff).

Our software engine is open source. If you have a suggestion for the site, or you are a software engineer and would like to help with development, or if you are a race director or data geek and would like to be a beta tester, please contact us and let's talk.

OpenSplitTime is developed and maintained by endurance athletes for endurance athletes.

Ruby on Rails

This application requires:

  • Ruby 3.1
  • Rails 7.0

Learn more about Installing Rails.

Getting Started

Setup Local Environment

Homebrew (MacOS)
1. Install Homebrew.


  1. Clone the repository to your local machine by forking the repo
  2. Install rbenv:

Using Homebrew on MacOS

  1. Install Homebrew
  2. $ brew update
  3. $ brew install rbenv

Using Debian/Ubuntu (Instructions from DigitalOcean)

  1. Install dependancies $ sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev
  2. Clone the rbenv repository $ git clone ~/.rbenv
  3. Add to path $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
  4. Enable automatic loading $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
  5. Apply changes to current terminal $ source ~/.bashrc
  6. Add ruby-build plugin $ git clone ~/.rbenv/plugins/ruby-build
  1. $ cd into your local OpenSplitTime directory
  2. $ rbenv init For any questions around setting up rbenv see
  3. $ rbenv install <current ruby version>
  4. $ rbenv rehash then restart the terminal session

Rails, Gems, Databases

  1. $ gem install bundler You should not need to sudo this. If it says "permission denied" rbenv is not setup correctly
  2. Install Postgres:

Using Homebrew on MacOS

$ brew install postgres redis

Using Debian/Ubuntu

  1. $ sudo apt install postgresql libpq-dev redis-server
  2. Setup your user (same as login) $ sudo -u postgres createuser --interactive
  1. $ bundle install

if running into weird errors first try $ rbenv rehash and restart your terminal

Javascript Runtime + Yarn

  1. Install Node.js v16 (the latest LTS as of mid-2022). We recommend using nvm. Otherwise:
  2. Using MacOS: You can download the package installer from
  3. Using Debian/Ubuntu: wget -qO- | sudo -E bash - && sudo apt-get install -y nodejs

  4. Install Yarn

After ensuring you're using the right version of Node.js (with node --version): npm install -g yarn


  1. Start your local DB $ brew services restart postgres && brew services restart redis or run the Postgres App
  2. $ rails db:setup to create the database
  3. $ rails db:from_fixtures to load seed data from test fixtures files
  4. $ rails s to start the server
  5. Type localhost:3000 in a browser

Test Users

After you setup/seed your database, you should have four test users:

| Role | Email | Password |
| ----- | ---------------------- | -------- |
| admin | [email protected] | password |
| user | [email protected] | password |
| user | [email protected] | password |
| user | [email protected] | password |


OpenSplitTime relies on Sidekiq for background jobs, and Sidekiq needs Redis. Make sure your Redis server (installed above) is started. Run your Sidekiq server from the command line:

$ sidekiq

You'll know you did it right when you see the awesome ASCII art.


Some integration tests rely on Google ChromeDriver. You can install it in Mac OS X with brew cask install chromedriver or your preferred package manager for Linux or Windows.

Continuous Integration

Heroku CI is used to ensure tests are passing. The status of your branch will be indicated in github. Please ensure your branch is passing before making a pull request.


Still having issues setting up your local environment?
Create an issue with label support and we will try and help as best we can!


We love Issues but we love Pull Requests more! If you want to change something or add something feel free to do so. If you don't have enough time or skills start an issue. Below are some loose guidelines for contributing.

Pull Requests

Writing code for something is the fastest way to get feedback. It doesn't matter if the code is a work in progress or just a spike of an idea we'd love to see it. Testing is critical to our long-term success, so code submissions must include tests covering all critical logic. :heart:


Be detailed. They only person who knows the bug you are experiencing or feature that you want is you! So please be as detailed as possible. Include labels like bug or enhancement and you know the saying a picture is worth a thousand words. So if you can grab a screenshot or gif of the behavior even better!


This application was generated with the rails_apps_composer gem
provided by the RailsApps Project.

Rails Composer is supported by developers who purchase the RailsApps tutorials.


The MIT License


Copyright (c) 2015-2021 OpenSplitTime Company. See license for details.