Harlan Iverson 6a8403078e updated start static script to reflect new http storage location | пре 6 година | |
---|---|---|
.. | ||
app | пре 6 година | |
scripts | пре 6 година | |
.gitignore | пре 6 година | |
Dockerfile | пре 6 година | |
Dockerfile.static | пре 6 година | |
MIT-LICENSE.txt | пре 6 година | |
README.md | пре 6 година | |
TDC.bfproject | пре 6 година | |
assets | пре 6 година | |
config.edn | пре 6 година | |
layout | пре 6 година | |
md-pages | пре 6 година | |
md-posts | пре 6 година | |
nginx.conf | пре 6 година | |
screen.css | пре 6 година |
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.