replaced Starman with plackup, not required for low-use app; added restart always to docker-compose file; no longer supplying title to templates, using appname; added README file for relevant deployment info
replaced Starman with plackup, not required for low-use app; added restart always to docker-compose file; no longer supplying title to templates, using appname; added README file for relevant deployment info
fixed init_db.sql schema to work with sqlite3 which can only execute single statements per dbh->do() call; changed DB method from D2 plugin to DBIx::Simple; new routes.t for testing all functions
5 months ago
README.txt
requires development_local.yml & test_local.yml in environments dir to run tests and dev server
new function expects db name to be same as prefix
$ ln -s production.yml deployment.yml
# /etc/apache2/websites/volvox.online.ssl
# documents library (check running port map in docker-compose.yml):
ProxyPass /docs-lib http://localhost:5001/docs-lib
ProxyPassReverse /docs-lib http://localhost:5001/docs-lib
# reconfig timezone for GB:
$ dpkg-reconfigure tzdata [select 8 then 27]
OR [https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive]:
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y tzdata
RUN unlink /etc/localtime
RUN ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
## to run:
$ docker compose up -d
## to restart:
$ docker compose [stop|start] documents_library
https://volvox.online/docs-lib