![]() |
před 7 roky | |
---|---|---|
.. | ||
app | před 7 roky | |
.gitignore | před 7 roky | |
Dockerfile | před 7 roky | |
Dockerfile.static | před 7 roky | |
README.md | před 7 roky | |
build-static.sh | před 7 roky | |
build.sh | před 7 roky | |
config.edn | před 7 roky | |
layout | před 7 roky | |
md-pages | před 7 roky | |
md-posts | před 7 roky | |
start-static.sh | před 7 roky | |
start.sh | před 7 roky | |
stop-static.sh | před 7 roky | |
stop.sh | před 7 roky |
The site is in the apps directory. Based on cryogen.
Built with ./build.sh
, started with ./start.sh
and will stay running after reboot... stopped with ./stop.sh
.
The running service will rebuild changes, although it takes about 2 minutes on the RasPi and makes content unavailabile.
In order to address this, we can create a snapshot with ./build-static.sh
and run that using ./start-static.sh
(heh) and ./stop-static.sh
.
The static service uses the same Python module that we use for the v1 service.