Based on https://gohugo.io/getting-started/quick-start/
- Install hugo https://gohugo.io/installation/
- Go to https://themes.gohugo.io/ and pick a theme, e.g.
Terminal - Initialise a new site:
hugo new site my-new-site
cd my-new-site
| pip-tools |
| name: example-environment | |
| channels: | |
| - conda-forge | |
| dependencies: | |
| - python=3.14 | |
| - numpy | |
| - pandas | |
| - matplotlib | |
| - pip | |
| - pip: |
| pypi-timemachine | |
| requests |
Based on https://gohugo.io/getting-started/quick-start/
Terminalhugo new site my-new-site
cd my-new-site
| #!/usr/bin/env python | |
| from argparse import ArgumentParser | |
| from base64 import b64decode | |
| from github import Github, GithubException | |
| import os | |
| import re | |
| # If None then unauthenticated requests are made (may hit API limits) | |
| GITHUB_TOKEN = os.getenv("GITHUB_TOKEN") |
| name: example-environment | |
| channels: | |
| - conda-forge | |
| dependencies: | |
| - python=3.12 | |
| - uv | |
| - pip | |
| - pip: | |
| - juvio |
| name: gmft | |
| channels: | |
| - conda-forge | |
| dependencies: | |
| - pytorch | |
| - pip | |
| - pip: | |
| - gmft | |
| #!/bin/sh | |
| # First run postgres, e.g. | |
| # nerdctl run -it --rm -p5432:5432 -e POSTGRES_PASSWORD=password docker.io/library/postgres:17 | |
| set -eu | |
| # Postgres connection details | |
| PG_HOST=127.0.0.1 | |
| PG_USER=postgres | |
| PG_SCHEMA=public |
This gist is a quick explainer on how to install and configure gVisor on K3s. There is a sort of hidden gotcha if you aren't reading the documentation thoroughly. If you already have a K3s cluster setup skip to the appropriate section below.
Install K3s as described in the documentation.