seeddms/README.md
2023-05-14 16:31:15 +02:00

46 lines
1.3 KiB
Markdown

SeedDMS
=======
Overview
--------
SeedDMS is a free document management system with an easy to use web based user interface for small
and medium sized enterprises. SeedDMS 6.0 runs on PHP 7.4 and is configured to use PostgreSQL
as backend. SeedDMS integrates with LibreOffice via [unoconv](https://github.com/unoconv/unoconv)
in order to provide previews and conversions for commonly used document formats.
Development without docker-compose
----------------------------------
```bash
rm -rf ~/postgres_data
mkdir ~/postgres_data
podman run -it --rm \
--env "POSTGRES_USER=seeddms" \
--env "POSTGRES_PASSWORD=seeddms" \
--env "POSTGRES_DB=seeddms" \
--volume ~/postgres_data:/var/lib/postgresql/data \
--ip 10.88.0.2 \
docker.io/postgres:14-alpine
```
```bash
podman build -t seeddms:latest seeddms
rm -rf ~/seeddms_{conf,data}
mkdir ~/seeddms_{conf,data}
podman run --rm \
--volume ~/seeddms_conf:/mnt/conf \
--volume ~/seeddms_data:/mnt/data \
seeddms:latest \
sh -c "cp -rp /srv/seeddms/conf /mnt; cp -rp /srv/seeddms/data /mnt"
podman run -it --rm \
--env-file .env \
--volume ~/seeddms_conf:/srv/seeddms/conf \
--volume ~/seeddms_data:/srv/seeddms/data \
--add-host seeddms-postgres:10.88.0.2 \
--ip 10.88.0.3 \
seeddms:latest
```