mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 20:21:37 +01:00
Compare commits
No commits in common. "9a14938e2e2b11a68eee83ed928f8c068f9f02c3" and "48d9be8d9a2320f5b2fb4bcc9fda912708eedd46" have entirely different histories.
9a14938e2e
...
48d9be8d9a
17 changed files with 3 additions and 16 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,2 @@
|
||||||
public/
|
public/
|
||||||
lektor/lektordata/output/
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@ FROM debian:latest
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install -y python3-pip python3-venv pipx
|
RUN apt install -y python3-pip python3-venv pipx
|
||||||
RUN pipx install lektor
|
RUN pipx install lektor
|
||||||
RUN mkdir -p /opt/lektor/project && mkdir -p /opt/lektor/output
|
RUN mkdir /opt/lektor
|
||||||
|
WORKDIR /opt/lektor
|
||||||
WORKDIR /opt/lektor/project
|
|
||||||
|
|
||||||
ENV PATH="$PATH:/root/.local/bin"
|
ENV PATH="$PATH:/root/.local/bin"
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
|
@ -15,17 +15,7 @@ New Lektor Approach:
|
||||||
thats all!
|
thats all!
|
||||||
|
|
||||||
|
|
||||||
building the website for deployment is:
|
If you would start from scratch you wolud delete all contents in lektordata/ and run
|
||||||
|
|
||||||
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
|
docker run -it -v ${PWD}/lektor/lektordata:/opt/lektor lektorcontainer lektor quickstart
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue