README update

This commit is contained in:
Roman 2021-04-09 12:41:06 +02:00
parent a18b35f784
commit 2ae209f53b

@ -34,12 +34,14 @@ I actually don't know what i want to implement here. There are quite to many CMS
1. `docker-compose up` 1. `docker-compose up`
2. Open the webapp in your browser and follow the installation guide 2. Open the webapp in your browser and follow the installation guide
### Afterwards
For any changes made in [/adminPanel](/adminPanel) or [/fileControlPanel](/fileControlPanel), run: For any changes made in [/adminPanel](/adminPanel) or [/fileControlPanel](/fileControlPanel), run:
1. once: `npm i` 1. once: `npm i`
2. build: `npm run build` 2. build: `npm run build`
The compiled dist files will be automatically moved to `/js`. The compiled dist files will be automatically moved to `/js`.
To fulfill the requirements of data deletion for GDPR, add the following line to your `/etc/crontab` To fulfill the requirements of data deletion for **GDPR**, add the following line to your `/etc/crontab`
or any other cron file: or any other cron file:
``` ```
@daily www-data /usr/bin/sh -c 'cd /var/www/html && /usr/bin/php cli.php db clean' @daily www-data /usr/bin/sh -c 'cd /var/www/html && /usr/bin/php cli.php db clean'