You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,15 @@ Extracted municipalities are written in JSON files following the format:
37
37
38
38
Pre-compiled windows binaries are available for download in the latest [Releases](https://github.com/ciatph/ph-municipalities/releases) download page.
39
39
40
+
<spanid="class-documentation"></span>
40
41
## Class Documentation
41
42
42
43
- Class and methods documentation are available at [https://ciatph.github.io/ph-municipalities](https://ciatph.github.io/ph-municipalities).
43
44
- Class source codes are available at the [ph-municipalities](https://github.com/ciatph/ph-municipalities) GitHub repository.
44
45
- The documentation website's HTML files are available in the [`gh-pages`](https://github.com/ciatph/ph-municipalities/tree/gh-pages) branch of the GitHub repository.
45
46
- Refer to the [Building the Class Documentation](#building-the-class-documentation) section for more information about updating and building the class documentation.
46
47
48
+
<spanid="requirements"></span>
47
49
## Requirements
48
50
49
51
The following dependencies are used for this project. Feel free to use other dependency versions as needed.
@@ -66,6 +68,7 @@ The following dependencies are used for this project. Feel free to use other dep
66
68
67
69
</details>
68
70
71
+
<spanid="faqs"></span>
69
72
## FAQs
70
73
71
74
<details>
@@ -214,6 +217,7 @@ NO. By default, ph-municipalities use an outdated PAGASA 10-day Excel file by de
214
217
215
218
<br>
216
219
220
+
<spanid="table-of-contents"></span>
217
221
## Table of Contents
218
222
219
223
<details>
@@ -264,6 +268,7 @@ Click to expand the table of contents
264
268
265
269
</details>
266
270
271
+
<spanid="installation"></span>
267
272
## Installation
268
273
269
274
1. Clone this repository.<br>
@@ -292,6 +297,7 @@ Click to expand the table of contents
292
297
293
298
</details>
294
299
300
+
<spanid="installation-using-docker"></span>
295
301
## Installation Using Docker
296
302
297
303
We can use Docker to run dockerized Node app for local development mode. The following methods require Docker and Docker compose correctly installed and set up on your development machine.
@@ -314,6 +320,7 @@ The following dependencies are used to build and run the image. Please feel feel
@@ -345,6 +352,7 @@ The following dependencies are used to build and run the image. Please feel feel
345
352
346
353
</details>
347
354
355
+
<span id="available-scripts"></span>
348
356
## Available Scripts
349
357
350
358
> _**Note:** These NPM scripts run relative within the `/app` directory, when working on a git-cloned repository of the app. To run using only NodeJS, navigate first to the `/app` directory and execute a target script, for example:_
@@ -510,6 +518,7 @@ Run tests defined in the `/app/__tests__` directory.
510
518
511
519
<br>
512
520
521
+
<spanid="class-usage"></span>
513
522
## Class Usage
514
523
515
524
Below are example usages of the `ExcelFile` class, run from the **/app/src/examples** directory. Check out the `/app/src/examples/sample_usage.js` file for more examples.
The **ph-municipalities**`ExcelFile` and `ExcelFactory` classes use a default configuration file to define their regions and provinces in the `/app/config/regions.json` file. The regions and provinces data in this file syncs with the PAGASA Seasonal and 10-Day Weather Forecast Excel files provinces and municipalities naming convention, encoded by hand as of August 24, 2024.
The class documentation uses [JSDoc](https://jsdoc.app/) annotations where applicable in the JavaScript source codes inside the **/src** directory. There are two (2) options for building the class documentation.
@@ -859,6 +874,7 @@ The class documentation uses [JSDoc](https://jsdoc.app/) annotations where appli
859
874
860
875
</details>
861
876
877
+
<spanid="troubleshooting"></span>
862
878
## Troubleshooting
863
879
864
880
This section describes several common errors and related fixes.
0 commit comments