rudimentary build & deploy instructions

This commit is contained in:
Jan Koppe 2024-11-12 22:19:58 +01:00
parent 115db4daf7
commit 8d8749d4fb
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
3 changed files with 14 additions and 10 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
# poetry
.venv
# lektor
packages/
lektor/

View File

@ -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

View File

@ -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