faktaoklimatu / web-core

The core website framework for climate facts websites
https://faktaoklimatu.cz
Other
0 stars 1 forks source link
climate-change data-science hacktoberfest infographics

Facts on climate: Web core

This repository contains the core part of our websites with climate change infographics. The mission of the whole project is to change how people talk and think about climate change and climate policies. The deployed websites can be found on faktaoklimatu.cz (in Czech, currently the biggest site), faktyoklime.sk (in Slovak) and factsonclimate.org (in English, currently only a titlepage placeholder).

Interaction with the localized repository

This repository (web-core) cannot (!) be built as is. It is just the core web skeleton meant to be checked out as a submodule by one of the localized repositories (web-cz, web-sk, web-en). The localized repository contains the actual web content (texts, infographics, ...) while web-content provides the HTML structure. The actual build always takes place in the web-core directory, the content is only sym-linked to the folders in the parent (localized) repository.

More tips and tricks for efficient development can be found in the Notion document.

Local website build

To build the website, a Linux environment is advisable (WSL in Windows 10 is sufficient). Currently tested systems are Ubuntu 20.10+, Fedora 33+ and Windows 10 WSL-1. There are two options to build the website: local installation or container-based installation. Don't mix local and container-based build. If you do, you may need to hard-clean the build using make clean-build.

Local installation

The local installation has the following prerequisites:

In Ubuntu 20.10 or higher, you can install all dependencies with sudo apt install jekyll ruby bundler inkscape build-essential. After installation, you can build the website by running make local -j4 in the parent localized repository.

Container-based installation