Harlan Iverson 6a8403078e updated start static script to reflect new http storage location | vor 6 Jahren | |
---|---|---|
.. | ||
app | vor 6 Jahren | |
scripts | vor 6 Jahren | |
.gitignore | vor 6 Jahren | |
Dockerfile | vor 6 Jahren | |
Dockerfile.static | vor 6 Jahren | |
MIT-LICENSE.txt | vor 6 Jahren | |
README.md | vor 6 Jahren | |
TDC.bfproject | vor 6 Jahren | |
assets | vor 6 Jahren | |
config.edn | vor 6 Jahren | |
layout | vor 6 Jahren | |
md-pages | vor 6 Jahren | |
md-posts | vor 6 Jahren | |
nginx.conf | vor 6 Jahren | |
screen.css | vor 6 Jahren |
The site is in the apps directory. Based on cryogen.
Built with ./scripts/build.sh
, started with ./scripts/start.sh
and will stay running after reboot... stopped with ./scripts/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 ./scripts/build-static.sh
and run that using ./scripts/start-static.sh
(heh) and ./scripts/stop-static.sh
.
The static service uses the same Python module that we use for the v1 service.