Skip to content

FiQCI/dev

 
 

Repository files navigation

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.

Contents

Site rewrite

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.

Running Locally

Tools

  • (asdf for runtime version management)
    • Ruby
      • (Bundler for managing Ruby gems)
      • Jekyll
    • Node.js
      • React
      • Tailwind CSS
      • Webpack

Some installation instructions follow. All of the commands shown are to be executed in the repository root.

Install asdf for runtime version management

Instructions at Getting Started | asdf.

Install Ruby and Node.js using 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.git

and

asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

Then, 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.0
Install the Ruby gems and Node packages

If not already installed, install Bundler with

gem install bundler

Then, using Bundler, install the Ruby gems defined in the Gemfile

bundle install

Again, you can check the version (of Jekyll this time) with

$ jekyll --version 
jekyll 4.3.4

Finally, install the Node packages with the command

npm install

Serve with live reload

The 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.

Github Pages

Pushed changes can also be previewed at either http://dev.fiqci.fi/ for the dev site or http://fiqci.fi/ for the main site.

Adding and editing content

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

About

Development repository for the FiQCI website.

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 90.5%
  • HTML 6.5%
  • Liquid 2.0%
  • Other 1.0%