code4sac / wicit

A simple node/express app for finding locations that accept WIC in California, using data from the new California Department of Public Health open data portal.
http://findwic.com/
MIT License
19 stars 20 forks source link

Missing files for dev environment #51

Closed codethirteen closed 6 years ago

codethirteen commented 7 years ago

Paul here with Code for Osage. This looks awesome and I am trying to fork this for a local project, as it is super perfect for what we are working on. Unfortunately, I'm running into some errors because it seems .env.dist and package.json are not included on master branch, and they appear outdated on production branch. Any chance I can grab a copy of the latest version of them?

kelfink commented 6 years ago

Hi Paul, we ended up rolling back some changes that were obfuscating code. May move that forward again later when we've got a better plan, but I believe it should be package complete now. Sorry this took so long to get back to you.

DonaldBrower commented 6 years ago

Hi Paul! We've made some updates to wicit, and the package.json and .env.dist files should be good to go in the master branch. If you check out This commit, you'll be able to see how we are loading in the base location data from the California Health and Human Services API.

You should be able to get a build of wicit up and running by just executing npm install, grunt build, and node app.js, right after cloning the repo. No .env messing around necessary.

joelbarker2011 commented 6 years ago

I can confirm that you only need to run npm install and node app.js to get WICit running on http://localhost:3000/ (it's not necessary to run grunt build, as this is done in the postinstall script).

This issue can be closed, @kelfink.