diff --git a/readme.md b/readme.md index 2f6c0a7..ce2f27f 100644 --- a/readme.md +++ b/readme.md @@ -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/_.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: