Add some help

This commit is contained in:
L3D 2021-03-18 22:14:51 +01:00
parent 923f768d08
commit 2e930876cf
No known key found for this signature in database
GPG Key ID: CD08445BFF4313D1
1 changed files with 29 additions and 2 deletions

View File

@ -8,7 +8,7 @@
## Status
Rohentwurf. Aktuell wurde nur das [Layout](https://git.vebit.xyz/muli/wtf-web-layout) auf Lektor übertragen.
Kurz vor dem Release der Webseite...
## Lokales entwickeln
@ -16,6 +16,33 @@ Rohentwurf. Aktuell wurde nur das [Layout](https://git.vebit.xyz/muli/wtf-web-la
Installation von Lektor, siehe offizielle [Doku](https://www.getlektor.com/docs/installation/).
```
# install git requirements
sudo apt install git-lfs
# install lektor requirements
sudo apt install python3-pip imagemagick
# install lektor
pip3 install --user lektor
# clone git repo
git clone https://git.vebit.xyz/vebit/wtf-public-website.git
# change to repo
cd wtf-public-website
# install lfs
git lfs install
# download all LFS files
git lfs fetch --all
# run lektor
lektor server
```
### Server starten
Der Server kann nun per `lektor server` gestartet werden und sollte unter http://127.0.0.1:5000/ erreichbar sein.
Der Server kann nun per `lektor server` gestartet werden und sollte unter http://127.0.0.1:5000/ erreichbar sein.