Skip to content

QCrypt/website-2022

Repository files navigation

QCrypt 2022 website

Netlify Status

Live site at https://2022.qcrypt.net

Using the Hugo template from https://github.com/GDGToulouse/devfest-theme-hugo adapted from the fork by the cloudnative-amsterdam people: https://github.com/cloudnative-amsterdam/public-website

theme submodule at https://github.com/QCrypt/devfest-theme-hugo-2022

Building this conference site from scratch

  1. Install Hugo
  2. Clone this repo:
git clone git@github.com:QCrypt/website-2022.git
  1. Update the theme submodule
cd website-2022/themes/devfest-theme-hugo
git submodule init
git submodule update
  1. It's done. Just start Hugo server to see the site live!
cd ../..
hugo server
  1. Edit the markdown source files with ending .md in the /content/ subdirectory to make changes to the site. You might also have to edit .json and .yml files in the /data/ subdirectory. As long as the hugo server is running, your changes should be visible immediately at http://localhost:1313/.

  2. Using a suitable editor like Atom allows to easily search across all source files, and will help finding the correct file to edit if you want to make specific changes.

  3. When you are happy with the result, commit the changes to the master branch. The site is then automatically deployed to https://qcrypt2022.netlify.com/ and accessible under https://2022.qcrypt.net . If you have the proper rights, you can see the deployment logs on netlify.

Customizing the theme

The theme is located at https://github.com/QCrypt/devfest-theme-hugo-2022

First, install yarn.

Then, use

cd themes/devfest-theme-hugo
yarn

to install the dependencies.

As you might have the right version of npm, you might have to install the node version manager nvm. Then, use

nvm install 10.0

In the same directory, run npm start to watch Sass changes.

When you are happy with the result run npm run build to build the minified version. Then commit the theme submodule.

Installing on a new ARM Mac

node-sass is not yet ported to ARM processors, but there is a work-around described here: sass/node-sass#3033 (comment)

Setting up the next year 2022 based on year 2021

  1. create new empty repository QCrypt/website-2022

  2. clone QCrypt/website-2022 , remove bulky data like slides and posters, copy the rest over to the empty website-2022, except the themes subdirectory

  3. in QCrypt/website-2022, change remote destination: git remote set-url origin https://github.com/QCrypt/website-2022.git

  4. git branch -M main

  5. git push -u origin main

  6. create new empty repository QCrypt/devfest-theme-hugo-2022

  7. git clone QCrypt/devfest-theme-hugo-2021

  8. git remote set-url origin https://github.com/QCrypt/devfest-theme-hugo-2022.git

  9. git branch -M main

  10. git push -u origin main

  11. cd website-2022, mkdir themes

  12. git submodule add https://github.com/QCrypt/devfest-theme-hugo-2022 devfest-theme-hugo

About

QCrypt 2022 website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published