Live site at https://2024.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 now included directly in this git repository.
- Install Hugo
- Clone this repo:
git clone git@github.com:QCrypt/website-2023.git
- It's done. Just start Hugo server to see the site live!
cd ../..
hugo server
-
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/.
-
Using a suitable editor like Visual Studio Code or 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.
-
When you are happy with the result, commit the changes to the master branch. The site is then automatically deployed to https://qcrypt2023.netlify.com/ and accessible under https://2023.qcrypt.net . If you have the proper rights, you can see the deployment logs on netlify.
The theme is located in the themes/devfest-theme-hugo subdirectory.
First, install yarn.
Then, use
cd themes/devfest-theme-hugo
yarn
to install the dependencies.
As you might not 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 versions of theme.js
and theme.css
. Then commit to these.
node-sass is not yet ported to ARM processors, but there is a work-around described here: sass/node-sass#3033 (comment) TODO: newer software exists now...
-
create new empty repository QCrypt/website-2024 from the web: https://github.com/organizations/QCrypt/repositories/new
-
clone the empty repository QCrypt/website-2024 onto local hard drive
-
clone QCrypt/website-2023 into a temporary directory, remove bulky data like slides and posters, copy the rest over to the empty local website-2024
-
git add *
-
git commit -m 'initial commit'
The old 2023 website should now be ready to be served by hugo server
. It is ready to be updated to the 2024 edition.
- on https://github.com/orgs/QCrypt/teams, create a new team
QCrypt 2024
- add admins https://github.com/orgs/QCrypt/teams/qcrypt-2024/members
- add repositories https://github.com/orgs/QCrypt/teams/qcrypt-2024/repositories
- create new site on https://app.netlify.com/teams/qcrypt/overview by "import from existing project"
- connect to Git provider: GitHub
- pick correct repository: QCrypt/website-2024
- rename project to qcrypt2024
- In Gandi: add a new DNS entry, as suggested in netlify:
2024 CNAME 10800 qcrypt2024.netlify.app.
- In netlify https://app.netlify.com/teams/qcrypt/members: add new admin as collaborator to 2024 site
- create a new private channel on QCrypt slack, named website-2024
- on https://api.slack.com/apps/A01P06YNCCU/incoming-webhooks , create a new Webhook (on the bottom of the page)
- paste the Webhook URL into netfliy: https://app.netlify.com/sites/qcrypt2024/settings/deploys (for deploy succeesful and deploy failed)
- add admins to Slack channel
- connect new admins to admins from last year
- update hugo version? check what needs to be updated.