No description
Find a file
2024-03-10 19:29:04 +01:00
assets Set Faketime and Update plugin 2024-03-10 19:29:04 +01:00
configs Set Faketime and Update plugin 2024-03-10 19:29:04 +01:00
content Set Faketime and Update plugin 2024-03-10 19:29:04 +01:00
models Adding Music Notice 2023-11-02 02:03:51 +01:00
templates Adding Logo to bauchbinde 2023-11-02 02:59:42 +01:00
.gitignore Adding Logo to bauchbinde 2023-11-02 02:59:42 +01:00
LICENSE create scss 2023-11-01 00:31:31 +01:00
README.md Set Faketime and Update plugin 2024-03-10 19:29:04 +01:00
voc-info.lektorproject Set Faketime and Update plugin 2024-03-10 19:29:04 +01:00

VOC Info Page

This is a lektor Projekt, more about lektor on getlektor.com.

Because thsi project is migrated from a hugo project, currently the esbuild Javascript builder is not automated and has to be done manually to update scripts.

lektor venv install

To install the python package lektor as venv, run these commands:

python -m venv lektor
source lektor/bin/activate
pip install lektor

Run lektor:

source lektor/bin/activate
lektor server

esbuild instructions

prepare esbuild nodejs enviroment

# aktivate lektor ennv
source lektor/bin/activate

# install nodeenv
pip install nodeenv

# add nodejs env to current env
nodeenv -p

# install esbuild
npm install --save-exact --save-dev esbuild
./node_modules/.bin/esbuild --version

build assets

source lektor/bin/activate
./node_modules/.bin/esbuild assets/js/custom/nodes/schedule.js --bundle --outfile=assets/rendered_schedule.js
./node_modules/.bin/esbuild assets/js/custom/nodes/schedule-vortragsraum.js --bundle --outfile=assets/rendered_schedule-vortragsraum.js
./node_modules/.bin/esbuild assets/js/custom/nodes/speaker-info-vortragsraum.js  --bundle --outfile=assets/rendered_speaker-info-vortragsraum.js

Get latest schedule

wget https://cfp.hackwerk.fun/november-geekend-23-2023/schedule/export/schedule.json -O assets/schedule.json