Skip to content

Commit b7f1c38

Browse files
committed
docs: additional notes for deploying pre-acap 2.1 excel templates to live sites
1 parent cbcbace commit b7f1c38

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

docs/pages/post-installation/cropping-calendar/calendar-v2.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Follow this [link](/post-installation/cropping-calendar/calendar-v1) to view cr
1515
### Data Format
1616

1717
<Callout type="warning">
18-
The latest updates for ACAP 2.1, starting with @commit **95a97cd** in the **acap-v2 dev** branch, use a new Cropping Calendar Excel template different from the ones mentioned on this page.
18+
The latest updates for **ACAP 2.1**, starting with @commit **95a97cd** in the **acap-v2 dev** branch, use a new Cropping Calendar Excel template different from the ones mentioned on this page.
1919

2020
> These Cropping Calendars are only compatible up to @commit **ee49568** in the **acap-v2 dev** branch.
2121
@@ -92,6 +92,14 @@ The **crop stage codes** should match those defined in the [ACAP 2.0 crop recomm
9292

9393
Update the frontend and backend codes with necessary data for supporting other crops, with data formats described in the [Data Format](#data-format) and [Crop Stage Codes and Labels](#crop-stage-codes-and-labels) section.
9494

95+
<Callout type="info" emoji="ℹ️">
96+
**Overwrite** and **commit** the sample cropping calendar Excel template files `corn_cropping_calendar.xlsx` and `corn_cropping_calendar.xlsx` in the **server** directory with the **regional cropping calendar files** to change the default sample Excel templates during live deployment.
97+
98+
Also, change the values of the environment variables (`CROPPING_CALENDAR_RICE_EXCEL_FILE`, `CROPPING_CALENDAR_CORN_EXCEL_FILE`) associated with its file names in the **client** `.env` file and **GitHub Secrets** if there is a need to use different file names or add new templates.
99+
100+
> **NOTE**: This step is only compatible until @commit **ee49568** (pre-ACAP 2.1) in the **acap-v2 dev** branch. Kindly chat the ACAP group chat for more information about the new Cropping Calendar Excel file format and management for ACAP 2.1 if it's missing in the online documentation.
101+
</Callout>
102+
95103
### Login as Admin
96104

97105
Login as an ACAP admin, then, navigate to the **Cropping Calendar Management** page in the `/admin/cropping-calendars` route.

docs/pages/post-installation/recommendations/recommendations-v2.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Follow this [link](/post-installation/recommendations/recommendations-v1) to vi
1313
## Data Format
1414

1515
<Callout type="warning">
16-
The latest updates for ACAP 2.1, starting with @commit **95a97cd** in the **acap-v2 dev** branch, use a new Crop Recommendations Excel template different from the ones mentioned on this page.
16+
The latest updates for **ACAP 2.1**, starting with @commit **95a97cd** in the **acap-v2 dev** branch, use a new Crop Recommendations Excel template different from the ones mentioned on this page.
1717

1818
> These Crop Recommendations are only compatible up to @commit **ee49568** in the **acap-v2 dev** branch.
1919
@@ -62,6 +62,14 @@ The **crop stage labels** should match the **crop stage codes** defined in the [
6262

6363
Update the frontend and backend codes with necessary data for supporting other crops, with data formats described in the [Data Format](#data-format) section.
6464

65+
<Callout type="info" emoji="ℹ️">
66+
**Overwrite** and **commit** the sample cropping calendar Excel template files `rice_recommendations_v4.xlsx` and `corn_recommendations_v3.xlsx` in the **server** directory with the **regional recommendation files** to change the default sample Excel templates during live deployment.
67+
68+
Also, change the values of the environment variables (`RECOMMENDATIONS_RICE_EXCEL_FILE`, `RECOMMENDATIONS_CORN_EXCEL_FILE`) associated with its file names in the **client** `.env` file and **GitHub Secrets** if there is a need to use different file names or add new templates.
69+
70+
> **NOTE:** This step is only compatible until @commit **ee49568** (pre-ACAP 2.1) in the **acap-v2 dev** branch. Kindly chat the ACAP group chat for more information about the new Crop Recommendations Excel file format and management for ACAP 2.1 if it's missing in the online documentation.
71+
</Callout>
72+
6573
### Login as Admin
6674

6775
Login as an ACAP admin, then, navigate to the **Recommendations Management** page in the `/admin/manage-recommendations` route.

0 commit comments

Comments
 (0)