This is the repository for building and maintaining the webpage for the Finnish Quantum-Computing Infrastructure (FiQCI). You can view the main site at https://fiqci.fi.
The site was recently overhauled. Here you can find documentation on how to add content to the new site and how it works. Old version is available on https://github.com/FiQCI/fiqci.github.io/tree/old-fiqci.
A Dockerfile and docker-compose.yml are provided to build and view the website locally using a containerised environment. To build the docker container use
docker compose build And then run the container with:
docker compose upThe site is viewable at http://localhost:4000/.
- (
asdffor runtime version management)- Ruby
- (Bundler for managing Ruby gems)
- Jekyll
- Node.js
- React
- Tailwind CSS
- Webpack
- Ruby
Some installation instructions follow. All of the commands shown are to be executed in the repository root.
Instructions at Getting Started | asdf.
The file .tool-versions contains the version numbers for
- Ruby: 3.3.5
- Node.js: v22.10.0
Install the asdf plugins (see the respective Git repositories for required dependencies) with
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.gitand
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.gitThen, as instructed in asdf --help,
asdf install Install all the package versions listed in the .tool-versions file
the command asdf install should install both Ruby and Node.js. It might take a while, though. When the installations are done, check the versions with
$ ruby --version
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]and
$ node --version
v22.10.0If not already installed, install Bundler with
gem install bundlerThen, using Bundler, install the Ruby gems defined in the Gemfile
bundle installAgain, you can check the version (of Jekyll this time) with
$ jekyll --version
jekyll 4.3.4Finally, install the Node packages with the command
npm installThe command npm run watch starts Tailwind CSS, Webpack and Jekyll concurrently with the source monitored for changes.
The site should now be ready at http://localhost:4000.
Pushed changes can also be previewed at either http://dev.fiqci.fi/ for the dev site or http://fiqci.fi/ for the main site.
For adding a blog post see: Adding a blog
For adding an event see: Adding an event
For editing the general contents of the site see: Editing content