Update readme.
This commit is contained in:
parent
225490491f
commit
18d2811954
2 changed files with 11 additions and 3 deletions
6
.envrc
6
.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
|
||||
|
|
|
|||
|
|
@ -3,3 +3,11 @@
|
|||
     
|
||||
|
||||
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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue