Source code for hack4rail.org, the website for the international hackathon for innovation in the railway sector.
- Hugo (extended version, v0.154.2+)
Clone the repository with submodules:
git clone --recurse-submodules https://github.com/OpenRailAssociation/hack4rail-website.git
cd hack4rail-websiteIf you already cloned without submodules:
git submodule update --init --recursiveRun the local development server:
hugo serverBuild the site:
hugoThe output is generated in the public/ directory.
content/— Page content in Markdownchallenges/— Hackathon challenges, organized by track (track-1/throughtrack-6/)organization/— Participation, travel, and FAQ pages
config.toml— Hugo site configurationdata/— Data files (carousel, features)static/img/— Static imagesthemes/— Hugo themes (git submodules):hack4rail— Main site themehugomod-images— Image processing (hugomods/images)hugo-cloak-email— Email address obfuscation (martignoni/hugo-cloak-email)
The site is built and deployed automatically via GitHub Actions on push to main. Pull requests generate preview deployments.
CC-BY-SA 4.0 — see LICENSE.