![]() |
há 7 anos atrás | |
---|---|---|
.. | ||
app | há 7 anos atrás | |
.gitignore | há 7 anos atrás | |
Dockerfile | há 7 anos atrás | |
Dockerfile.static | há 7 anos atrás | |
README.md | há 7 anos atrás | |
build-static.sh | há 7 anos atrás | |
build.sh | há 7 anos atrás | |
config.edn | há 7 anos atrás | |
layout | há 7 anos atrás | |
md-pages | há 7 anos atrás | |
md-posts | há 7 anos atrás | |
start-static.sh | há 7 anos atrás | |
start.sh | há 7 anos atrás | |
stop-static.sh | há 7 anos atrás | |
stop.sh | há 7 anos atrás |
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.