Git Product home page Git Product logo

calfresh's Introduction

CalFresh timeline

This timeline shows what it's like to be a CalFresh (Food Stamps) client in San Francisco for a year.

Check it out! http://lippytak.github.io/calfresh/

Want to know more?

This info was gathered by a team of 2013 Code for America fellows as part of a project with the San Francisco Human Service Agency. See promptly.io for details on that project. We built the timeline using TimelineJS.

Timeline spreadsheet: https://docs.google.com/spreadsheet/pub?key=0AnFBBOclPdX5dDN3WjhGSENGeHExZEtKY185dWd1N0E&output=html

Raw docs: https://www.dropbox.com/sh/hkvlie47rx78jjh/x6VfJ-3QfZ

Questions? Comments? Get in touch: [email protected]

How to create a (mostly) private timeline

A few people have asked how to create a private timeline. Here's a quick tutorial. Note that these instructions will keep your images private on your computer, but will publish all of the titles and descriptions publically on the internet in a Google Doc. Ping me with questions @lippytak.

  1. Download timeline-example.html from this repo. You can put it anywhere but I'll assume you saved it to a folder called timeline.
  2. Save your timeline images to the timeline folder.
  3. Create and publish a Google Spreadsheet
    • Create a Google account if you don't already have one.
    • Open this template
    • Click Use this template at the top left
    • In the Google spreadsheet, go to File > Publish to the web > Start publishing > then Copy the link at the bottom to your clipboard. It should look something like this: https://docs.google.com/spreadsheet/pub?key=0AnFBBOclPdX5dFBBQnlrX04wYWszNURGMUdqcWN3VVE&output=html
  4. Edit the Media column in the spreadsheet
    • Open your spreadsheet and edit the Media column with your image names. For example, if you have an image called my-image.jpg in the timeline folder, then enter my-image.jpg in the Media column.
    • The other columns are pretty self-explanatory. Experiment!
  5. Start a web server
    • TimelineJS requires a web server to run. That's okay. It's easy! I'll assume you're on a Mac. If not, check out Mongoose
    • Open Terminal
    • Navigate to the timeline folder cd timeline
    • Run python -m SimpleHTTPServer 8000
  6. Check it out!
    • You now have a timeline running locally on your computer, using images that are still private on your computer.

    • Open chrome or your web browser of choice and navigate to localhost:8000/timeline-example.html. You should see something like this:

      Timeline example

calfresh's People

Contributors

allenz456 avatar bmcorser avatar enathu avatar gunnarlium avatar joegermuska avatar lacimol avatar laurentjuvanon avatar lippytak avatar quasipickle avatar rcgraff avatar seanhellwig avatar skarm avatar srobbin avatar sugyan avatar supirman avatar ubik86 avatar wschaefer avatar ycz87 avatar zachwise avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.