diff --git a/README.md b/README.md index 9c40dcd..8ba0268 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,17 @@ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). +## Deploy + +Just push the changes to master. + +The `deploy_to_ghpages.yml` file contains the code that will run in GitHub actions. +The code will build the website and deploy it to gh-pages. + +This repo is the connected to Netlify and Netlify will deploy the latest version of the code that is in the `gh-pages` branch. + +Data is downloaded on daily basis using the Python script in the `python` folder. +The script then also pushes the changes to master and triggers the GitHub action. + ## Available Scripts In the project directory, you can run: @@ -27,42 +39,3 @@ Your app is ready to be deployed! See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. -### `yarn eject` - -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** - -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. - -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. - -## Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). - -### Code Splitting - -This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting - -### Analyzing the Bundle Size - -This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size - -### Making a Progressive Web App - -This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app - -### Advanced Configuration - -This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration - -### Deployment - -This section has moved here: https://facebook.github.io/create-react-app/docs/deployment - -### `yarn build` fails to minify - -This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify diff --git a/src/Components/HomeView.js b/src/Components/HomeView.js index 145e820..257d15c 100644 --- a/src/Components/HomeView.js +++ b/src/Components/HomeView.js @@ -103,8 +103,8 @@ function HomeView() {

People should also ensure that no stagnant water is present in their - homes and immediate surrounding and should remove any stagnant water - if present. + homes and immediate surroundings and in case any stagnant water is + present it should be removed immediately.

diff --git a/src/Components/LineChartWeeklyDengue.js b/src/Components/LineChartWeeklyDengue.js index f7f362e..b663feb 100644 --- a/src/Components/LineChartWeeklyDengue.js +++ b/src/Components/LineChartWeeklyDengue.js @@ -151,7 +151,7 @@ function LineChartWeeklyDengue() {

- The data until May 2020 were downloaded from data.gov.sg. while the + The data until May 2020 has been downloaded from data.gov.sg while the latest data are downloaded weekly from the nea.gov.sg website.

diff --git a/src/Data/infectious_disease.json b/src/Data/infectious_disease.json index 927294b..59885a4 100644 --- a/src/Data/infectious_disease.json +++ b/src/Data/infectious_disease.json @@ -492,7 +492,9 @@ 1667, 1339, 1288, - 1155 + 1155, + 942, + 624 ], "color": "#1f77b4" }