mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 17:31:38 +01:00
Compare commits
2 commits
47e02a997c
...
48d9be8d9a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48d9be8d9a | ||
|
|
f2029fa627 |
1 changed files with 7 additions and 3 deletions
|
|
@ -2,18 +2,22 @@ New Lektor Approach:
|
||||||
|
|
||||||
build your lektor docker container:
|
build your lektor docker container:
|
||||||
|
|
||||||
docker build -t lektorcontainer docker
|
docker build -t lektorcontainer lektor/docker
|
||||||
|
|
||||||
run your lektor server
|
run your lektor server
|
||||||
|
|
||||||
docker run -it -v ${PWD}/lektordata:/opt/lektor -p 5000:5000 lektorcontainer lektor serve -h 0.0.0.0
|
docker run -it -v ${PWD}/lektor/lektordata:/opt/lektor -p 5000:5000 lektorcontainer lektor serve -h 0.0.0.0
|
||||||
|
|
||||||
|
access it with your browser:
|
||||||
|
|
||||||
|
http://localhost:5000
|
||||||
|
|
||||||
thats all!
|
thats all!
|
||||||
|
|
||||||
|
|
||||||
If you would start from scratch you wolud delete all contents in lektordata/ and run
|
If you would start from scratch you wolud delete all contents in lektordata/ and run
|
||||||
|
|
||||||
docker run -it -v ${PWD}/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