- PHP 8.0 or higher
- Composer
- SQLite (or another database supported by Doctrine)
- Docker and Docker Compose (for MariaDB development environment)
- 
Clone the repository: git clone https://github.com/freifunk/calcifer.git cd calcifer
- 
Install PHP dependencies: composer install 
- 
MariaDB-Container starten: docker compose up -d 
- 
Datenbank-Schema erstellen: php bin/console doctrine:schema:create 
- 
Wenn nötig, Datenbank-Container und Volumes löschen: docker compose down -v 
- 
Status der Datenbank überprüfen: docker compose ps 
- 
Direkte Verbindung zur Datenbank: docker compose exec database mysql -u app -p'!ChangeMe!' app 
- Create the database schema:
php bin/console doctrine:schema:create 
- Run PHPUnit tests:
./vendor/bin/phpunit 
- 
To clear the cache: php bin/console cache:clear 
- 
To run the development server: symfony server:start -d or php -S localhost:8000 -t public/