main
Boathouse Cafe
A Symfony 8 web application for Boathouse Cafe.
Stack
- PHP 8.4 / Symfony 8.0
- FrankenPHP (web server)
- Twig (templating)
- Docker (containerized dev & prod)
Requirements
- Docker + Docker Compose
- (Optional) PHP 8.4 + Symfony CLI for local development
Getting Started
# Build and start in dev mode (live reload)
make start
# App runs at http://localhost:8087
Common Commands
| Command | Description |
|---|---|
make start |
Start Docker containers in dev mode |
make stop |
Stop all services |
make restart |
Restart containers |
make build |
Install deps and clear cache |
make rebuild-docker |
Full rebuild from scratch |
make test |
Run test suite |
make lint-fix |
Fix code style |
make logs |
Follow container logs |
make shell |
Open shell in container |
Run make help for the full list.
Development
# Install dependencies locally
make install-deps
# Start local Symfony dev server (no Docker)
make start-local
# Run tests
make test
# Check code style
make lint-check
Production
make start-prod
The production Docker image uses docker-compose.yml only (no dev overrides). The container serves on port 80; the host maps it to 8087.
Languages
PHP
61.2%
Twig
19.2%
CSS
13.7%
Makefile
5.2%
Dockerfile
0.7%