Merge pull request 'Solve local build procedure' (#160) from dancesWithCycles/webseite:build into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #160 Danke für den PR.
This commit is contained in:
commit
246726d97f
12
README.md
12
README.md
@ -22,9 +22,6 @@ sudo apt install git-lfs
|
||||
# install lektor requirements
|
||||
sudo apt install python3-pip imagemagick
|
||||
|
||||
# install lektor
|
||||
pip3 install --user lektor
|
||||
|
||||
# clone git repo to folder 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
|
||||
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
|
||||
lektor server
|
||||
```
|
||||
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
lektor
|
Loading…
Reference in New Issue
Block a user