Skip to content

ANHD-NYC-CODE/dapmap

Repository files navigation

ANHD DAP Map v2.0

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.

Development

Pre-requisites

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)

First Time Setup

# clone the repo 
git clone https://github.com/lblok/dapmap.git

# install the Node dependencies
nvm use 
npm ci

To Run Locally

# 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

To Compile and Deploy to GH pages

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

Data management

See additional documentation in the documentation folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors