docs: add profile and car customization guide

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 16:21:05 -04:00
co-authored by Copilot
parent 2c0e9f7e25
commit 235ca65822
+28
View File
@@ -114,6 +114,34 @@ in [deploy/](./deploy). For a clean-install walkthrough on a fresh Pi, use
For the remote server (receives trip logs + dashcam uploads), see [server/README.md](./server/README.md).
## Customizing username and profile picture
The top-right username and avatar in the local app are currently code-configured.
### Change username
Edit [modules/app_account.py](./modules/app_account.py):
```python
self.name = "quoije"
```
Set it to your preferred name, then restart the app/service.
> Important: `account.name` is also used in the local SQLite filename (`db/sql/<name>_<car>.db` via [modules/app_sql.py](./modules/app_sql.py)).
> If you already have trip data and change the name, the app will create a new DB file unless you rename/migrate the existing one.
### Change profile picture
Current avatar is hardcoded in [templates/base.html](./templates/base.html) to:
```html
src="{{ url_for('static', filename='img/yaris.png') }}"
```
Simplest option: replace [static/img/yaris.png](./static/img/yaris.png) with your image (same filename/path).
Alternative: edit the `filename='img/yaris.png'` value in [templates/base.html](./templates/base.html).
## Project status
Phases 1–24.7 are complete. The system is fully built and audited, ready for the Phase 25 real-vehicle test: