- Node.js must be installed on your computer. You can download Node.js from nodejs.org.
To install http-server
on your computer, open the terminal or command prompt and run the following command:
npm install -g http-server
Using the terminal or command prompt, navigate to the directory containing your covid-gis-vn project.
cd ~/covid-gis-vn
Once you are in the directory containing your source code, run the following command to start the HTTP server:
http-server
Open your browser and navigate to the URL provided by http-server, for example: http://127.0.0.1:8080.
In some rare cases, data might not load when the page is first accessed. You can interact with the map by using Zoom in, Zoom out, or reselecting the date to trigger the data to load. In the /diagram folder, there are files for generating diagrams. You can use Mermaid and PlantUML to run them.