![]() |
hace 7 años | |
---|---|---|
.. | ||
app | hace 7 años | |
.gitignore | hace 7 años | |
Dockerfile | hace 7 años | |
Dockerfile.static | hace 7 años | |
README.md | hace 7 años | |
build-static.sh | hace 7 años | |
build.sh | hace 7 años | |
config.edn | hace 7 años | |
layout | hace 7 años | |
md-pages | hace 7 años | |
md-posts | hace 7 años | |
start-static.sh | hace 7 años | |
start.sh | hace 7 años | |
stop-static.sh | hace 7 años | |
stop.sh | hace 7 años |
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.