Skip to content

Lichess4545/heltour

Repository files navigation

heltour

League management software for the Lichess4545 league.

requirements

  • Python
  • Pip
  • poetry
  • Postgres (Ubuntu packages postgresql and postgresql-server-dev-9.5)
  • Fabric (pip install fabric)
  • Virtualenv (Ubuntu package virtualenv)
  • Sass

install

These install instructions have been test on Arch and Ubuntu linux. Other OSes should work, but the install may vary slightly.

  1. Create a local settings file. In the heltour/local folder, copy one of the existing modules and name it "host_name.py" where "host_name" is your machine's hostname (with non-alphanumeric characters replaced by underscores).
  2. ./start.sh
  3. source env/bin/activate
  4. fab up
  5. fab createdb
  6. fab -R dev latestdb
  7. fab runserver

development

Use 4545vagrant as development environment.

Ensure that your editor has an EditorConfig plugin enabled.

create admin account

Run python manage.py createsuperuser to create a new admin account.

Optional Components

  • To generate pairings, download JaVaFo and set JAVAFO_COMMAND to 'java -jar /path/to/javafo.jar'