Overview

Rootstrikers
------------

Requirements (suggested install methods included):

django-disqus
    pip install django-disqus

django-tagging
    pip install django-tagging

feedparser
    pip install feedparser

disqus-python
    pip install disqus-python


django-social-auth
    pip install django-social-auth

django-wiki (https://github.com/sebasmagri/django-wiki)
    pip install -e git+https://github.com/sebasmagri/django-wiki.git#egg=django-wiki

markdown
    pip install markdown

South
    pip install South

You can install all requirements by running
    pip -r req.txt
from the repositories root directory (assuming you have pip).

A note about South
------------------
If you checked out the source prior to South integration, you must run
    python manage.py migrate story_collector 0001 --fake
See http://south.aeracode.org/docs/tutorial/part1.html for basic instructions on using South.


By default, the server uses a sqlite3 database. This should be used for testing purposes. You can configure which database to use in settings.py. 

To run a test copy of the website, do the following:

python manage.py syncdb
python manage.py runserver
python manage.py migrate story_collector


Static Files
------------

The folders rootstrikers/static/ and {appname}/static/ are served statically. Any images, scripts, styles, etc. should be placed in there. For example, the up arrow used the voting aspect of the story_collector app is stored in:

rootstrikers/story_collector/static/images/up_arrow_off.png

These directories are all serverd at {{ STATIC_URL }} (it's likely going to be domain.com/static/, but don't rely on that). Use that in the templates. So the code to display that arrow looks like:

<img src="{{ STATIC_URL }}/images/up_arrow_off.png">