/dol-eligibility-tool

New Jersey DOL Benefits Eligibility Tool

Primary LanguageCSSApache License 2.0Apache-2.0

New Jersey DOL Eligibility Tool

Context

This project is a fork of the USDR's PAPUA prototype.

For more information on that project, see their Wiki.

Getting Started

Follow these steps to run the application locally:

  1. yarn install - this installs all required dependencies
  2. yarn start - this utilizes react-scripts to start a development server with hot module reloading

Deploying

This application is deployed and served using Github Pages. To deploy this application, run the following commands in order.

NOTE: it is critical that these commands are only run on the main branch - otherwise you will overwrite the production environment with any changes from your current branch

  1. yarn predeploy - this generates a production-ready build with the NJ DOL public url
  2. yarn deploy - this runs the gh-pages cli to upload the build directory generated in the previous step to the gh-pages branch in this repository, targeting the labor directory. The repository settings are targeting this gh-pages branch as the source for Github Pages hosting.