diff options
author | Steph Enders <steph@senders.io> | 2023-06-28 09:22:24 -0400 |
---|---|---|
committer | Steph Enders <steph@senders.io> | 2023-06-28 09:22:24 -0400 |
commit | a736e7fafdb6a62d9698f45bbe9c120792ae9d27 (patch) | |
tree | 7e072db75365b2abdc9436b2b58a507a28d29502 | |
parent | d9070d655bf2ecdf6c68ea7e24fd669229b01193 (diff) |
Setup auto venv in make script
Because we require python in the make script its easier to venv
ourselves than require it be setup in the build environment
-rw-r--r-- | .gitignore | 3 | ||||
-rwxr-xr-x | make.sh | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,4 @@ www/ gemini/ -drafts/
\ No newline at end of file +drafts/ +.venv
\ No newline at end of file @@ -1,3 +1,4 @@ +set -x # Render pages ./render.sh pages/index.html www/index.html ./render.sh pages/error.html www/error.html @@ -23,6 +24,10 @@ mkdir -p gemini/log cp -r capsule/* gemini # generate gemlog +python3 -m venv .venv +source .venv/bin/activate +python3 -m pip install -I --disable-pip-version-check -r requirements.txt + touch gemini/log/index.gmi echo -e "# The Woman In My Eye\n" > gemini/log/index.gmi |