DVRPC has designed this online toolbox to serve as a guide for municipalities to help implement the goals of Connections 2050, the region’s Long-range Plan. It contains resources, case studies, and model/sample ordinances for tools that are most useful for implementing the 5 Core Principles of the Plan.
Use npm to install dependencies.
npm install
Then run the develop script to run application locally.
npm run develop
Cypress is used for testing. To run the tests you must have two terminals open. The first terminal should run the Gatsby development script
npm run develop
and the second terminal opens cypress
npx cypress open
Cypress is ran through the browser. I had some difficulties when running in Firefox but Google Chrome works well.
To build application for deployment run the build:staging script. This script differs from the regular gatsby build script in that it adds prefixes to various static assets.
npm run build:staging
Then copy the contents of the build folder into the staging folder.
This application makes use of markdown files. Indentation is important for parsing and improper indentation can lead to bad formatting when displayed. This link shows how to properly write markdown and should answer most syntax questions. Any further questions can be sent to developers.