Skip to content

The website for the CHipCie committee of W.I.S.V. ‘Christiaan Huygens’

Notifications You must be signed in to change notification settings

WISVCH/chipcie-website

Repository files navigation

CHipCie Website

Before you Start

This repository use lfs for large files. make sure you have lfs installed and configured on your local system.

For downloading the theme for the first time use git submodule update --init --recursive.

Idea

This poc is build in hugo. The concept for the poc is to make adding the problem set (and news and other updates) easier. Tekst can be typed is MD script. Hugo generate an optimezed text only website, which can be hosted in a docker container.

For problem sets etc. in the data folder add the correct data in a yml (e.g., 2021.yaml). The pdfs/zip can be added in the static/archive folder in the year and type of contest.

A table is generated based on the layout defined here. The table itself is generated here. A shortcode per type of contest is required with this setup.

Running

For development, run hugo serve to run the application and then visit http://localhost:1313/chipcie.
For production, run hugo and serve the contents of the /public folder using e.g. Nginx.

Note that hugo serve keeps all files (including the entire archive) in memory while serving. If you want to avoid this, you can instruct Hugo to serve static files from disk using hugo serve --renderStaticToDisk. This will copy the /static folder to /public. If you prefer to not duplicate the archive on disk, you can create a symlink: cd public ; ln -s ../static/archive .. (see #22 for the original discussion)

Todos and improvements

  • How to deal with scoreboards?
  • Figure out if there is enough lfs space for all years
  • Fix layout (especially of the table)
  • Add other pages that are wanted (general information, training sources, etc)
    • Add Contest page
    • Add example problem page
    • Add Training Sources page
  • Expand the archive
    • Add archive files for DAPC
    • Add archive files for BAPC
    • Add archive files for NWERC
    • Add archive files for FPC
    • Reverse the table to have the latest contest at the top
    • Add photo links from previous contests

Future Todos

  • Scan in old problem sets (marked to be in the old physical problem set archive)
    • DAPC 1990, 1991, 1992
    • NKP 1992, 1994, 1995
    • NKP 2002
    • NWERC 1988, 1990, 1991, 1995 (double check 1989 if only 4 problems)
  • Search old chipcie drive for scoreboard dkp 2011 and 1998-
  • Search old CHipCie drive for problem sets FPC 2017, 2013, 2010, 2009, 2008, 2005
  • Add pictures from new ch picture site once it works again(dapc 2019 and up)

About

The website for the CHipCie committee of W.I.S.V. ‘Christiaan Huygens’

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages