A map of all the panel clinics for TWSG.
Archived: This project is archived since it is superseded by the offical app.
This repo contains several sub-projects:
/public
: the main web app/cleaner
: to build the JSON file with the clinics data/test
: end-to-end tests
To install dependencies of the sub-projects, use nix-shell
from Nix
(optionally with direnv) or refer to the default.nix
file in each project
to see which dependencies to install manually.
For specific instructions for each sub-project, see below.
-
Install the development tools (linting, code formatting and live server):
npm install
-
Make sure that your text editor or toolchain supports EditorConfig, ESLint, and Prettier.
-
Develop locally by starting the live server:
npm run start:dev
Open
localhost:8080
in your browser for development (and not127.0.0.1:8080
or something else) to get Google Maps to load properly.
-
Download (or copy from Dropbox) the Excel file containing the clinic details
-
Rename it accordingly (check the
Makefile
) -
Run
env GEOCODING_API_KEY=your-key-here make