From 8d8749d4fb3f4548b4727df083f7448890de4171 Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Tue, 12 Nov 2024 22:19:58 +0100 Subject: [PATCH] rudimentary build & deploy instructions --- .gitignore | 3 +++ README.md | 12 +++++++++++- chaoswest.tv.lektorproject | 9 --------- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 8813879..22e4895 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# poetry +.venv + # lektor packages/ lektor/ diff --git a/README.md b/README.md index cadebac..1e2ca5a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,17 @@ ---------------------- Create a webserver for lektor after installing the requirements: ```bash -lektor server +poetry run lektor server +``` + +Build the output files: +```bash +poetry run lektor build +``` + +Copy to the webserver: +```bash +scp -rp $(poetry run lektor project-info --output-path)/ cwtv-web@ax41-1.fsn.mon2.de:/www/ ``` Install requirements diff --git a/chaoswest.tv.lektorproject b/chaoswest.tv.lektorproject index 5f78c06..01a43bd 100644 --- a/chaoswest.tv.lektorproject +++ b/chaoswest.tv.lektorproject @@ -5,15 +5,6 @@ excluded_assets = *.scss upscale = false output_path = temp/builds/chaoswest.tv/ -[servers.preview] -name = preview -url = https://m2.xn--see-br-0xa.se/ -url_style = absolute -enabled = yes -default = yes -locale = de_DE -target = rsync://example@example.com/srv/www/chaoswest.tv/ - [alternatives.de] name = Deutsch primary = yes