项目作者: crccheck

项目描述 :
Scrape Austin, TX Boards and Commissions into RSS feeds
高级语言: HTML
项目地址: git://github.com/crccheck/atx-bandc.git
创建时间: 2014-06-01T03:07:04Z
项目社区:https://github.com/crccheck/atx-bandc

开源协议:BSD 3-Clause "New" or "Revised" License

下载


ATX BandC

Austin, TX Boards and Commissions

Getting started

Prerequisites:

  1. Be in a Virtualenv
  2. Have ImageMagick installed. See make install in Makefile

Installing:

  1. make install

How it works

This is a Django site, with models for Boards and Commissions, their meetings,
and the documents for each meeting. There’s a scraper that hits each of their
websites and:

  • grabs all the documents. Then the PDF documents:
    • have their text extracted
    • a thumbnail generated
  • the documents are put into an RSS feed

Deploying

I store images in the local filesystem for simplicity. To serve Django media in
production, you’ll need a rule like this in Nginx:

  1. location /media {
  2. root /data/bandc;
  3. }