77
88Chronicle automatically builds rich Strava activity descriptions by combining data from Strava and your connected stat sources.
99
10+ ## UI Direction
11+ - The MPA is the product and the active refinement target.
12+ - Future styling changes should be reviewed in-browser with ` A ` vs ` B ` comparisons at ` /design-review ` .
13+ - Product direction details: [ ` docs/UI_DIRECTION.md ` ] ( docs/UI_DIRECTION.md )
14+ - Refinement process and page order: [ ` docs/MPA_REFINEMENT_ROADMAP.md ` ] ( docs/MPA_REFINEMENT_ROADMAP.md )
15+
1016## Key Features
1117- Auto-processes new activities on a worker heartbeat.
1218- Writes description templates back to Strava based on activity profile.
@@ -47,9 +53,11 @@ cp .env.example .env
4753
4854### Step 3: Start Chronicle
4955``` bash
50- docker compose up -d
56+ docker compose up -d --build
5157```
5258
59+ - Re-run the same command after pulling new code so the latest backend and frontend assets are rebuilt into the image.
60+
5361### Step 4: Open the app
5462``` bash
5563http://localhost:1609
@@ -60,6 +68,7 @@ http://localhost:1609
6068- Template Editor (` Build ` ): http://localhost:1609/editor
6169- Source Setup (` Sources ` ): http://localhost:1609/setup
6270- API Control (` Control ` ): http://localhost:1609/control
71+ - Design review: ` http://localhost:1609/design-review `
6372
6473### Step 5: Add your credentials in ` Sources `
6574- Go to ` Sources ` and fill in your source keys/tokens.
@@ -71,16 +80,13 @@ http://localhost:1609
7180- Android widget APK downloads: [ GitHub Releases] ( https://github.com/seanap/Chronicle/releases )
7281- Misery Index report: [ ` docs/MISERY_INDEX_REPORT.md ` ] ( docs/MISERY_INDEX_REPORT.md )
7382
74- ## SPA Scaffold (Story 1.1)
83+ ## Updating a Docker Deploy
7584
76- A parallel SPA workspace now exists at ` chronicle-ui/ ` (Vite + React + TypeScript + MUI).
85+ If you already have Chronicle running and want the current MPA product build to show up:
7786
78- ### Run frontend locally
7987``` bash
80- cd chronicle-ui
81- npm install
82- npm run dev
88+ git pull
89+ docker compose up -d --build
8390```
8491
85- - Vite proxy defaults to ` http://localhost:1609 ` and can be overridden with ` VITE_API_PROXY_TARGET ` .
86- - Backend endpoints and response contracts remain source-of-truth and unchanged.
92+ Then hard refresh the browser on ` /dashboard ` or ` /control ` .
0 commit comments