Git Product home page Git Product logo

codeforamerica.org-library's Introduction

Code for America dot Org slash Library

This repository controls the code behind the Code for America website Library section, currently visible at www.codeforamerica.org/library.

How to Edit

Library content lives in a GDocs spreadsheet, “CfA Library Taxonomy”. Edit it on GDocs, it will be automatically imported to the Library every few minutes.

Install

Use SQLite to initialize a data.db file:

sqlite3 data.db < createdb.sql

Run collect-data.py as a cron task to update from CfA Library Taxonomy. GDocs authentication is pulled from two environment variables, GDOCS_USERNAME and GDOCS_PASSWORD. We use a single-purpose Google account with read-only access to run the updates.

GDOCS_USERNAME=<name> GDOCS_PASSWORD=<pass> python collect-data.py data.db

The app itself is written in PHP. View it in a web browser via Apache with mod_php installed.

codeforamerica.org-library's People

Contributors

migurski avatar ladyson avatar phae 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.