Solve local build procedure #160

Merged
muli merged 1 commits from dancingCycle/webseite:build into main 2022-12-03 19:40:36 +01:00
2 changed files with 10 additions and 3 deletions
Showing only changes of commit 893a2d13e1 - Show all commits

View File

@ -22,9 +22,6 @@ sudo apt install git-lfs
# install lektor requirements # install lektor requirements
sudo apt install python3-pip imagemagick sudo apt install python3-pip imagemagick
# install lektor
pip3 install --user lektor
# clone git repo to folder wtf-webseite # clone git repo to folder wtf-webseite
git clone https://git.wtf-eg.de/ag_kommunikation/webseite.git wtf-webseite git clone https://git.wtf-eg.de/ag_kommunikation/webseite.git wtf-webseite
@ -37,6 +34,15 @@ git lfs install
# download all LFS files # download all LFS files
git lfs fetch git lfs fetch
# create a virtual Python environmenty `venv`
python3 -m venv venv
# activate the virtual Python environment
source venv/bin/activate
# install the packages listed in [requirements.txt](./requirements.txt) using `pip`
pip install -r requirements.txt
# run lektor # run lektor
lektor server lektor server
``` ```

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
lektor