Developed by the Association For Neighborhood and Housing Development, Inc. (ANHD), the Displacement Alert Project (DAP) Map (http://www.dapmapnyc.org) is an important organizing, advocacy, and policy development tool that provides crucial information about recent building transactions where tenants might be facing excessive displacement pressure. The lblok/dapmap repository is the 2018 version of DAP Map being updated by Lucy Block. It builds off of https://github.com/ANHD-NYC/SAMP, which was built by @clhenrick and @jdgodchaux of NiJeL (see commit history here). 2023 update/rewrite away from CARTO with help from GreenInfo Network.
Install nvm
first, then use that to install Node
and npm
, by running nvm install 16.13.0
- nvm >= 0.39.1
- Node 16.13.0
- npm >= 8.1.0
- MapLibre 3.6.2 (> 4 does not work with PM Tiles)
# clone the repo
git clone https://github.com/lblok/dapmap.git
# install the Node dependencies
nvm use
npm ci
# This starts a local development server with the site running on http://127.0.0.1:5173/
# Vite will watch for changes and reload
nvm use
npm run start
The site runs from the GitHub pages via the /docs
folder.
nvm use
npm run build
git add --all
git commit -m "build"
git push origin master
See additional documentation in the documentation folder