35 lines
637 B
Markdown
35 lines
637 B
Markdown
# Dogstats dingsi
|
|
|
|
## Techstack
|
|
|
|
- [HTMX](https://htmx.org/)
|
|
- [Tailwind](https://tailwindcss.com/)
|
|
|
|
|
|
## Start Dev
|
|
|
|
### Beim ersten Start
|
|
|
|
Config file erstellen bzw kopieren
|
|
|
|
1. `cd web/api/inc`
|
|
2. Datei `example.config.inc.php` umbenennen auf `config.inc.php`
|
|
3. Gegebenenfalls Werte anpassen in der Config
|
|
|
|
Composer sachen holen
|
|
|
|
1. `cd web/api/inc`
|
|
2. `composer install`
|
|
|
|
### Linux
|
|
|
|
Erst Tailwind starten
|
|
|
|
1. `cd tools`
|
|
2. `./tailwindcss-linux-x64 -i ../web/css/input.css -o ../web/css/output.css --watch`
|
|
|
|
In zweitem Terminal dann Webserver starten
|
|
|
|
1. `cd web`
|
|
2. `php -S localhost:8080`
|
|
3. Browser auf http://localhost:8080 öffnen |