customer-riverside/README.md

51 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2026-05-28 17:14:59 -08:00
# Riverside Physical Therapy
2026-04-19 20:35:27 -08:00
2026-05-12 16:28:47 -08:00
A Drupal-based appointment scheduling site for booking sessions between patients and practitioners.
## Running locally
```sh
2026-04-19 20:35:27 -08:00
docker compose up --build
```
**Default behavior**: Every start performs a full database wipe + rebuilds the entire site from code (content types, fields, menu, etc.). See CLAUDE.md for details and the `DRUPAL_FAST=1` escape hatch for faster iteration.
2026-05-12 16:28:47 -08:00
Admin login: `admin` / `admin` at `/user/login`
## Makefile commands
```sh
make shell # open a bash shell in the app container
make drush <cmd> # run any drush command, e.g. make drush cr
```
2026-05-13 13:55:52 -08:00
## Scripts
### Seed provider availability
Populates `provider_availability` nodes for the next calendar month across all active providers, using randomised noise per provider.
```sh
make drush php-script scripts/seed_availability.php
```
Preview without saving:
```sh
SEED_DRY_RUN=1 make drush php-script scripts/seed_availability.php
```
Wipe existing availability for the month before seeding:
```sh
SEED_WIPE=1 make drush php-script scripts/seed_availability.php
```
Running the script twice without `SEED_WIPE=1` will create duplicates.
2026-05-12 16:28:47 -08:00
## Modules
- **FullCalendar View** — interactive appointment calendar
- **Webform** — patient booking forms
- **Symfony Mailer** — transactional email