Files
stAndrews/TODO.md
Rob Wiederstein 05e2aba34c Add deployment pipeline and clean up repo
- Add Dockerfile, docker-compose.yml, .dockerignore, .env (port 3842)
- Add Caddyfile.snippet for analytics gateway import pattern
- Add .gitea/workflows/deploy.yaml for act_runner SSH deploy
- Untrack sensitive/data files (SCPA xlsx, owners.rds)
- Add renv lockfile and infrastructure files
- Reorganize data-raw scripts and add SarasotaCounty boundary data
- Move www assets to www/images/, add docs PDFs
2026-03-09 10:38:21 -04:00

30 lines
1.2 KiB
Markdown

# TODO
## App
- [ ] Display `last_sale_date` attribute from `owners.rds` somewhere in the UI
so users know how current the ownership data is
## Data
- [ ] Verify SCPA Public.xlsx column structure is stable across downloads
- [ ] Delete app from shinyapps.io (account: rob-wiederstein, appId: 14173710)
- [ ] Add cron job to run `update_owners.R` weekly inside the rstudio container:
`docker exec rstudio Rscript /home/rstudio/projects/r/stAndrews/data-raw/update_owners.R`
Note: app must reload `owners.rds` after refresh — either restart container or
make app reactive to file changes
## Deployment
Everything must be scripted from within the project folder. No manual steps
on the server outside of what the workflow handles.
- [ ] Create Dockerfile (follow veniceProp pattern — `rocker/shiny:4.5.2`)
- [ ] Create docker-compose.yml (bind to `127.0.0.1:<port>:3838`)
- [ ] Create `.gitea/workflows/deploy.yaml` that:
- Builds the Docker image
- Runs `docker compose up -d`
- SSHes into analytics VM and idempotently adds route to gateway Caddyfile
- Restarts the gateway container
- [ ] Push to Gitea — act_runner handles all future deploys automatically