From 18d28119542cff90a29e5ddb450dd37d837d9176 Mon Sep 17 00:00:00 2001 From: g_it Date: Tue, 17 Mar 2026 16:43:20 +0100 Subject: [PATCH] Update readme. --- .envrc | 6 +++--- readme.md | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.envrc b/.envrc index 8c884b7..261e683 100755 --- a/.envrc +++ b/.envrc @@ -21,9 +21,9 @@ fi # Run pip to update packages inside the venv echo "Running pip update..." "$VIRTUAL_ENV/bin/python3.14" -m pip install --upgrade pip -"$VIRTUAL_ENV/bin/python3.14" -m pip install --no-cache-dir --upgrade $(pip list --format=freeze | grep -v '^\-e' | grep -v '^griffe==' | cut -d = -f 1 | tr '\n' ' ') # Exclude the griffe package for now -# "$VIRTUAL_ENV/bin/python3.14" -m pip install --no-cache-dir --upgrade $(pip list --format=freeze | grep -v '^\-e' | cut -d = -f 1 | tr '\n' ' ') -"$VIRTUAL_ENV/bin/python3.14" -m pip freeze > requirements.txt +# "$VIRTUAL_ENV/bin/python3.14" -m pip install --no-cache-dir --upgrade $(pip list --format=freeze | grep -v '^\-e' | grep -v '^griffe==' | cut -d = -f 1 | tr '\n' ' ') # Exclude the griffe package for now +"$VIRTUAL_ENV/bin/python3.14" -m pip install --no-cache-dir --upgrade $(pip list --format=freeze | grep -v '^\-e' | cut -d = -f 1 | tr '\n' ' ') +# "$VIRTUAL_ENV/bin/python3.14" -m pip freeze > requirements.txt # Update requirements.txt with pinned versions only if installs succeeded if [[ $? -eq 0 ]]; then diff --git a/readme.md b/readme.md index 377b002..f4c95f8 100755 --- a/readme.md +++ b/readme.md @@ -3,3 +3,11 @@ ![GSAP](https://img.shields.io/badge/GSAP-0AE448?style=flat&logo=GSAP&logoColor=white) ![Markdown](https://img.shields.io/badge/Markdown-000000?style=flat&logo=Markdown&logoColor=white) ![CSS](https://img.shields.io/badge/CSS-663399?style=flat&logo=CSS&logoColor=white) ![Jinja](https://img.shields.io/badge/Jinja-7E0C1B?style=flat&logo=Jinja&logoColor=white) ![Docker](https://img.shields.io/badge/Docker-2496ED?style=flat&logo=Docker&logoColor=white) ![Shell](https://img.shields.io/badge/zsh-F15A24?style=flat&logo=zsh&logoColor=white) This repo contains the files for maintaining my personal website: [gugulet.hu](https://gugulet.hu) and is built using the [Zensical static site generator](https://zensical.org/). + +## Setup steps + +1. Clone the repo and enter the directory: `git clone git:git.gugulet.hu/g_it/site.g_it; cd site` +2. Setup the virtual environment: `python3 venv .venv` +3. Activate the virtual environment: `source .venv/bin/activate` +4. Install all the packages: `pip install -r requirements.txt` +5. Activate direnv: `brew install direnv; direnv allow`