This app helps to manage products, clients and deliveries for a community supported agriculture.
This project is licensed under the GNU Affero General Public License v3.0 (AGPLv3). See COPYING for details.
Some files that are included in this project contain work that is licensed under different licenses:
frontend/src/assets/vfs_fonts.ts
frontend/public/assets/seedling.svg
is licensed under CC BY 4.0The app is deployed via Docker Compose based on compose.yaml
. The following manual steps are necessary
for the first time setup:
env-be-dev.env
-> env-be-prod.env
env-db-dev.env
-> env-db-prod.env
.env-sample
to .env
and adjust the external ports for the different containers./dev/build/build-and-deploy.bash init
from the project root to build containers locallydocker compose up d
to startIt is advised to schedule regular database backups, e.g., using cron:
0 3 * * * /path/to/repo/dev/backup/database-backup.bash
This will create backups in the folder ./database/backups
which is mounted into the database container.
Also make sure to have backups of your custom .env files, especially the SECRETs.
This should be done during a time with low expected user activity. You may consider notifying the user about planned downtimes by setting a maintenance message (Wartungshinweis) under the Text menu entry.
On the production server:
git pull
git switch BRANCHNAME
or git checkout v1.2.3
./dev/build/build-and-deploy.bash update
from the project root to build up-to-date containers locally
docker compose up -d
to startSee dev/DEVELOPMENT for more information.