Skip to content

fw42/cubecomp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 31, 2024
b9792a6 · Oct 31, 2024
Apr 13, 2023
Apr 30, 2020
Apr 13, 2023
Aug 9, 2023
Aug 9, 2023
Apr 1, 2015
Sep 18, 2023
Mar 14, 2023
Apr 5, 2015
Apr 19, 2015
Feb 22, 2015
Mar 19, 2019
Apr 13, 2023
Apr 13, 2023
Jan 28, 2017
Oct 31, 2024
Oct 31, 2024
Sep 1, 2014
Feb 4, 2019
Mar 14, 2023
Aug 10, 2015

Repository files navigation

Build Status

Cubecomp

Cubecomp is a web application written in Ruby on Rails which is used by several members of the World Cube Association (WCA) and volunteers around the world to organize Rubik's Cube competitions.

The website features a rich adminstration interface with many useful features for competition organizers, such as creating a public website with a registration form, creating event schedules, confirming competitor registrations, generating printable nametags, and much more.

Since early 2009, cubecomp (or earlier versions of it) has been used to host over 85 different competitions in at least 5 different countries around the world.

Cubecomp is free and open source, published under the MIT license.

How do I use cubecomp?

If you are a competition organizer and want to use cubecomp to host your website, you can either run it on your own server or you can use our hosted version on https://cubecomp.de. Please send an email to cubecomp@cubecomp.de if you would like us to create an account for you.

Can I use your hosted version of cubecomp, but use a different domain?

We can make this work. Send an email to cubecomp@cubecomp.de.

Cubecomp doesn't support my country's native language

I'm happy to add more languages. Send an email to cubecomp@cubecomp.de and we can work on a translation (or take a look at config/locales/en.yml and send me a translated version of that for your language).

Screenshots

Screenshots

Getting started

Requirements

  • Ruby 2.2 or higher
  • MySQL or SQLite
  • gem and bundler

Development

Clone the repository:

git clone git@github.com:fw42/cubecomp.git
cd cubecomp

Install dependencies:

bundle install

The default database is MySQL. If you want to use SQLite, please edit "config/database.yml" and "Gemfile" accordingly and run bundle install.

Generate the database:

bundle exec rake db:setup db:seed:themes

Import the WCA database:

bundle exec rake db:load_wca_schema db:seed:wca db:seed:countries

Generate an example competition and some example users:

bundle exec rake db:seed:example_competition

Start a local webserver:

bundle exec rails server

Visit http://localhost:3000/admin in a browser and log in with email "admin@admin.com", password "admin123".