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 # lektor
packages/ packages/
lektor/ lektor/

View File

@ -5,7 +5,17 @@
---------------------- ----------------------
Create a webserver for lektor after installing the requirements: Create a webserver for lektor after installing the requirements:
```bash ```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 Install requirements

View File

@ -5,15 +5,6 @@ excluded_assets = *.scss
upscale = false upscale = false
output_path = temp/builds/chaoswest.tv/ 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] [alternatives.de]
name = Deutsch name = Deutsch
primary = yes primary = yes