Proximap is a responsive web app written using Angular for finding nearby public infrastructure. Drinking fountains are used as a showcase example. It is being developed in conjunction with Datablue, a tool for collecting, aggregating, and serving fountain data from Open Street Map, Wikidata, Wikimedia Commons, and Wikipedia. Check out the app at water-fountains.org, or beta.water-fountains.org to see a beta version of the app!
To have a city added, create a git issue.
The project is open source under the GNU Affero General Public License, with a profit contribution agreement applying under restricted conditions. See COPYING for information.
Proximap requires a backend server (Datablue) to be running in order to display fountains.
Requirements (make sure these are up to date)
> npm install
(see point 3).> npm install -g @angular/cli
to install globallyClone this repository to a local project directory. Checkout the develop
branch to get all the latest features. The stable
branch is updated at a less frequent interval to guarantee stability.
> git clone https://github.com/water-fountains/proximap.git -b develop
.Open a command line in the local project directory
> npm install
. If you update the project with > git pull
, be sure to run npm > npm install
again to update all packages.> npm run sync_datablue
to replicate the two constants files from datablue (the datablue server must be running)~/git/proximap$ npm run start 2>&1 | tee npm_pm_`date +%y%m%d_%H%M%S`.log
. You can view the application by navigating to http://localhost:4200. The app will automatically reload if you change any of the source files.We use BrowserStack to test design concepts and user experience for iOS and Android devices.
210502
ERROR in src/app/locations.ts(13,23): error TS2304: Cannot find name 'require'.
declare var require: any
on the line before appears to be a quick and dirty fix
https://github.com/water-fountains/proximap/actions
Submit an issue for a feature request, architecture suggestion, or to discuss a modification you have made or would like to make.
If you would like to contribute directly to the code:
develop
branchfeature/[yourFeatureName]
npm run pr
(pr = pull request) before you commit which will format the source code and run the linter To get ideas for how to contribute, see open issues.