Compare commits

...

2 commits

Author SHA1 Message Date
Reto Bollinger
9a14938e2e Updated instructions (especially on building the website) 2024-11-16 09:26:04 +01:00
Reto Bollinger
367b3fddc4 Restructured lektor project for simpler builds 2024-11-16 09:20:49 +01:00
17 changed files with 16 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
public/
lektor/lektordata/output/
.DS_Store

View file

@ -3,6 +3,8 @@ FROM debian:latest
RUN apt update
RUN apt install -y python3-pip python3-venv pipx
RUN pipx install lektor
RUN mkdir /opt/lektor
WORKDIR /opt/lektor
RUN mkdir -p /opt/lektor/project && mkdir -p /opt/lektor/output
WORKDIR /opt/lektor/project
ENV PATH="$PATH:/root/.local/bin"

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -15,7 +15,17 @@ New Lektor Approach:
thats all!
If you would start from scratch you wolud delete all contents in lektordata/ and run
building the website for deployment is:
docker run -it -v ${PWD}/lektor/lektordata:/opt/lektor -p 5000:5000 lektorcontainer lektor build -O /opt/lektor/output
deployemnt can then be found in:
lektor/lektordata/output
If you would like to start from scratch you would delete all contents in lektordata/project and run
docker run -it -v ${PWD}/lektor/lektordata:/opt/lektor lektorcontainer lektor quickstart