#WICit: Where to Shop with WIC
Check it out at findwic.com!
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
- Install: Git
- Install: Node & NPM
- Install: Python 2.x.x
- Version 3 of Python is not supported by nodegyp so make sure to install version 2.x.x.
- 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
- Install: RubyInstaller
- From a command prompt, install the Grunt Command Line Interface:
npm install -g grunt-cli
- From a command prompt, install the SASS compiler:
gem install sass
- Follow the OS X instructions above from step 4
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.