Microsite to display events compiled by Lawyers for Good Government Volunteers.
Create a .env file
cp sample.env .env
Install dependencies
npm install
Start the dev server
npm start
Open localhost:3000
You can generate all the files needed to display an event by running the following command from the project root directory:
npm run create "Event Name" "2017-02-28 19:30"
Valid event date formats include YYYY
, YYYY-MM
, YYYY-MM-DD
, and YYYY-MM-DD HH:mm
.
Note: Event times will be interpreted in UTC. Please verify that the event time looks correct for your local timezone by viewing it in a browser.
Run all unit and integration tests:
npm test
Run unit tests on file changes (you'll need to restart if there are failures):
npm run test:watch
Run only unit tests:
npm run test:unit
Run only integration tests:
npm run test:integration