mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 17:31:38 +01:00
Compare commits
No commits in common. "48d9be8d9a2320f5b2fb4bcc9fda912708eedd46" and "47e02a997c3aeecba7fb122e27e71c8105f27e0c" have entirely different histories.
48d9be8d9a
...
47e02a997c
1 changed files with 3 additions and 7 deletions
|
|
@ -2,22 +2,18 @@ New Lektor Approach:
|
|||
|
||||
build your lektor docker container:
|
||||
|
||||
docker build -t lektorcontainer lektor/docker
|
||||
docker build -t lektorcontainer docker
|
||||
|
||||
run your lektor server
|
||||
|
||||
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
|
||||
docker run -it -v ${PWD}/lektordata:/opt/lektor -p 5000:5000 lektorcontainer lektor serve -h 0.0.0.0
|
||||
|
||||
thats all!
|
||||
|
||||
|
||||
If you would start from scratch you wolud delete all contents in lektordata/ and run
|
||||
|
||||
docker run -it -v ${PWD}/lektor/lektordata:/opt/lektor lektorcontainer lektor quickstart
|
||||
docker run -it -v ${PWD}/lektordata:/opt/lektor lektorcontainer lektor quickstart
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue