70 lines
1.3 KiB
Markdown
70 lines
1.3 KiB
Markdown
|
|
# Fotobox Web
|
|
|
|
Webseite um Fotobox Bilder anzuzeigen & zu verwalten
|
|
|
|
|
|
## Features
|
|
|
|
- Bilder anzeigen
|
|
- Bilder löschen
|
|
- Bilder teilen
|
|
- Bilder herunterladen
|
|
- Mietanfragen
|
|
- Infos
|
|
- Fotobox Orten
|
|
|
|
|
|
## Setup
|
|
|
|
Projekt Klonen
|
|
|
|
```bash
|
|
git clone https://git.tservic.es/TMSS/fotobox-web
|
|
```
|
|
|
|
Projekt aufrufen
|
|
|
|
```bash
|
|
cd fotobox-web
|
|
```
|
|
|
|
Abhängigkeiten installieren (composer)
|
|
|
|
```bash
|
|
composer install
|
|
```
|
|
|
|
Config Dateien anpassen
|
|
|
|
```bash
|
|
cp config.inc.php.example config.inc.php
|
|
vim config.inc.php
|
|
```
|
|
|
|
```bash
|
|
cp mailconfig.php.example mailconfig.php
|
|
vim mailconfig.php
|
|
```
|
|
|
|
```bash
|
|
cp location.json.example location.json
|
|
vim location.json
|
|
```
|
|
|
|
Bilder Ordner anlegen
|
|
|
|
```bash
|
|
mkdir images
|
|
```
|
|
|
|
|
|
|
|
|
|
## Hinweise
|
|
|
|
- Die Seite erwartet, dass die Bilder die Endung ".jpg" hat und der Dateiname 32 Zeichen Alpha Numerisch ist.
|
|
- "Löschen" löscht die Bilder nicht direkt sondern nennt sie in deleted_<name> um. Das löschen muss extern geregelt sein.
|
|
- Die Bilder müssen in dem Ordner /pfad/zum/projekt/fotobox-web/images/ abgelegt werden und die lese & schreib berechtigungen für den Web Prozess müssen vorhanden sein
|
|
- An vielen Stellen ist RegattaTech.de / Thies Mueller Service Solutions hardcoded!
|
|
- Die Software wird zusammen mit [PhotoboothProject](https://github.com/PhotoboothProject/photobooth) genutzt. |