Files
boathousecafelakehopatcong/README.md
T
admin d1e39aee04 feat: Initialize Symfony application structure with essential files
- Added index.php for application entry point.
- Created app.css for global styles.
- Introduced HomeController for handling the home route.
- Implemented Kernel class for application kernel.
- Added base.html.twig as the main template.
- Created index.html.twig for the home page layout.
- Set up Docker configurations for development and production environments.
- Included opcache configuration for development.
2026-06-13 09:06:26 -04:00

65 lines
1.3 KiB
Markdown

# 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
```bash
# 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
```bash
# 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
```bash
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`.