From 06ad03b86eb6928b693686eaa7776789c25b457e Mon Sep 17 00:00:00 2001 From: ben_29 Date: Tue, 20 Aug 2024 13:46:46 +0800 Subject: [PATCH] doc: readme --- README-CN.md | 7 ++++--- README.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README-CN.md b/README-CN.md index a6429aeff83..3297c5fc6d4 100644 --- a/README-CN.md +++ b/README-CN.md @@ -3,9 +3,10 @@ ## note2: 2023.09.26 garmin need secret_string(and in Actions) get `python run_page/garmin_sync.py ${secret_string}` if cn `python run_page/garmin_sync.py ${secret_string} --is-cn` ## note3: 2024.08.19: Added `Elevation Gain` field, If you forked the project before this update, please run the following command: - - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` - - For old data: To include `Elevation Gain` for past activities, perform a full reimport. - - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. + + - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` + - For old data: To include `Elevation Gain` for past activities, perform a full reimport. + - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. ```bash python run_page/db_updater.py diff --git a/README.md b/README.md index 0f81194911e..e65e462c0c8 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,10 @@ ## note2: 2023.09.26 garmin need secret_string(and in Actions) get `python run_page/garmin_sync.py ${secret_string}` if cn `python run_page/garmin_sync.py ${secret_string} --is-cn` ## note3: 2024.08.19: Added `Elevation Gain` field, If you forked the project before this update, please run the following command: - - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` - - For old data: To include `Elevation Gain` for past activities, perform a full reimport. - - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. + + - To resolve errors: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: activities.elevation_gain` + - For old data: To include `Elevation Gain` for past activities, perform a full reimport. + - If you don't have a local environment, set `RUN_TYPE` to `db_updater` in the `.github/workflows/run_data_sync.yml` file once then change back. ```bash python run_page/db_updater.py