aboutsummaryrefslogtreecommitdiffstats
path: root/README
blob: 0eb3f7f9b18cf7af211809945055a3b89c14cf6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

PicCast Repo README
-------------------

./www/
  Static content to be served up over HTTP (eg, stylesheets).
  The webserver will check here first (except for index.html)

./piccast/
  Django application base directory

./doc/
  Project documentation

./scripts/
  Misc scripts


Requirements
-------------
The django application requires:
  - django 1.1
  - python-docutils
  - python-feedparser
  - python 2.6+ (I think? with pysqlite or whatevah?)

also, ./www/media/admin/ should be a symlink to the django admin media (eg,
/usr/share/pyshared/django/contrib/admin/media/)

JSON API
--------
/json/feeds/
/json/sets_by_feed/<feed_id>/
/json/sets_by_feed/<feed_shortname>/
/json/pics_by_set/<set_id>/

Feed Scrape Command
-------------------
Run "./manage.py scrape_feeds acidcow" to fetch the RSS feed for acid cow and
scape all the (new) picture sets.