2026-07-26 21:45:22 +02:00
|
|
|
#nur einmal
|
|
|
|
|
go mod init cyoa
|
|
|
|
|
|
|
|
|
|
# kompilieren
|
|
|
|
|
go build -o cyoa-engine main.go
|
|
|
|
|
|
|
|
|
|
# Ausführen & Validieren:
|
|
|
|
|
./cyoa-engine -dir ./stories -out export/story.html
|
|
|
|
|
|
|
|
|
|
./cyoa-engine -dir ./stories -serve -port 8080
|
|
|
|
|
# Wenn du jetzt in Neovim Dateien abspeicherst oder neue `[[node_id]]`-Knoten anlegst, musst du im
|
|
|
|
|
# Browser nur `http://localhost:8080` aufrufen und siehst sofort deine Änderungen inkl. vollständiger Link-Prüfung!
|
2026-07-27 18:40:05 +02:00
|
|
|
|
|
|
|
|
# baue das docker image
|
|
|
|
|
|
|
|
|
|
docker build -t asciidoctor-echo -f Dockerfile.echobox .
|