Skip to content
forked from 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.

License

Notifications You must be signed in to change notification settings

mikyladewitt/wicit

 
 

Repository files navigation

#WICit: Where to Shop with WIC

The California deployment of WICit is live!

Check it out at findwic.com!


Development Environment Setup

OS X

1 Install node.js and NPM (Node Package Manager)

2 Install grunt command-line on your machine: sudo npm install -g grunt-cli

3 Install the SASS compiler gem: gem install sass

4 Fork the repository and setup a local clone

5 Move into your local wicit directory: cd <yourdirectory>/wicit

6 Install server-side dependencies: npm install

7 Register your development application to receive a data portal API token.

8 Setup a Mapbox map to use in your development environment.

9 Copy the .env.dist file to a file called .env, and update the MAPBOX_ID, MAPBOX_TOKEN, and API_TOKEN parameters in that file with your Mapbox map ID, Mapbox API token, and data portal API token.

10 Start the development server: grunt dev

11 Try it out

Windows

  1. Install: Git
  2. Install: Node & NPM
  3. Install: Python 2.x.x
    • Version 3 of Python is not supported by nodegyp so make sure to install version 2.x.x.
  4. Install: Visual Studio Community (with Update 4)
    • Visual Studio Express for Windows Desktop should also work, but if you want a full IDE, go with the Community edition
  5. Install: RubyInstaller
  6. From a command prompt, install the Grunt Command Line Interface: npm install -g grunt-cli
  7. From a command prompt, install the SASS compiler: gem install sass
  8. Follow the OS X instructions above from step 4

Deployment

Digital Ocean

Wicit is ready to be deployed on Digital Ocean using Dokku (wicit doesn't use a database right now, so you don't have to worry about that part). Just be sure to use dokku config:set <appname> VAR=value to add the settings present in your local .env file to your deployment environment.

###License WICit is free software, and may be redistributed under the MIT-LICENSE.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.7%
  • HTML 2.5%
  • CSS 1.8%