SOClone
10 days' worth of furious hacking at a Stack Overflow clone for Django in October 2008.
OSQA seems to have taken the ball and run with it, so not sure if I'll ever take this one any further.
Dependencies
- django_html for rendering
django.forms
components using HTML instead of XHTML. - python-markdown2 for converting Markdown-formatted user input into HTML.
- html5lib for HTML sanitisation.
- lxml for HTML diffing.
- Oh, and Django 1.2 or greater, of course.
Installation
To play around with SOClone:
Use the pip-requirements.txt file to install dependencies with pip.
Run the following command to create the database:
django-admin.py syncdb --settings=soclone.settings
You will be prompted to create a superuser.
Run the following command to start the development server:
django-admin.py runserver --settings=soclone.settings
Cross your fingers, open http://localhost:8000/questions/ and log in with the superuser account you created.
Here be dragons.