Mapping when/where food pickups are available during covid-19 crisis.
Live site: https://pantries.openmaine.org/
Check out the wiki for ways to get involved!
We're excited for you to help improve this project. We've outlined a few steps to get it running locally as easily as possible. Let us know on Slack if you run into any trouble!
-
Download and install Node.js and npm (if needed) from https://nodejs.org/en/
-
Open a command prompt to the root directory of the covid19-foodmap and install dependencies:
$ npm install
- Start the development server:
$ npm start
- The development server runs at http://localhost:3000/. A browser window should be opened automatically when the app boots.
git clone git@github.com:OpenMaine/covid19-foodmap.git
- Build the image:
docker build -t covid19-foodmap .
- Run the container:
docker run -p 8080:8080
--mount type=bind,source="$(pwd)",target=/usr/src/app
--volume node_modules:/usr/src/app/node_modules
covid19-foodmap
- Navigate to http://127.0.0.1:8080
Due to differences in host and container package binaries, node_modules is NOT sync'd. If you prefer (for IDE features or other needs) to have a copy of the packages installed on your host project directory as well, you'll need to run npm install in both locations when changes to package.json happen:
npm install && docker container exec "$(docker ps --filter ancestor=covid19-foodmap --filter status=running -n 1 -q)" npm install
We've been asked by the Mutual Aid group Mainers Together (mainerstogether.com) to put together a map for their organizers to use when assisting need requests. This map would have updated hours and pick up/drop off locations. We will coordinate with Mainers Together to conduct outreach and data validation.