Skip to content

yangjiandong/zhimaq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

学习django系列 - zhimaq

2012.01.09

  1. git

    git remote add origin git@github.com:yangjiandong/zhimaq.git git push -u origin master

  2. setup

    http://www.zhimaq.com/ 芝麻问答 code:https://bitbucket.org/felinx/zhimaq ,use django,tornado? same other: http://www.osqa.net/http://svn.osqa.net/svnroot/osqa/trunk/

    install packages for osqa: easy_install django easy_install html5lib easy_install markdown easy_install python-openid easy_install south easy_install django-debug-toolbar easy_install mysql-python

    sudo ./bin/pip install -U html5lib markdown python-openid django-debug-toolbar mysql-python

    syncdb and migrate python manage.py syncdb --all python manage.py migrate forum --fake python manage.py migrate attachments python manage.py migrate python manage.py createsuperuser python manage.py runserver

    other error: a. ImportError: cannot import name mark_safe http://wiki.osqa.net/display/docs/Ubuntu+with+Apache+and+MySQL?focusedCommentId=3047880#comment-3047880

    In /forum/utils/html.py replace from django.template import mark_safe with from django.utils.safestring import mark_safe

    leo

    b. django.core.exceptions.ImproperlyConfigured: App with label attachments could not be found --没影响

  3. 其他类似产品

    Sorted by language

    PHP:

    Question2Answer cahoots phpancake LampCMS Coordino Q&A (Is a WordPress Plugin)

    Python:

    ASKBOT CNPROG OSQA soclone Plurk Solace FortyTwo

    Ruby:

    Shapado openoverflow T002_rails-overflow SmartR

    ASP.NET:

    stacked ASP.NET

    C#:

    Stack Underflow

    JavaScript (JSGI):

    kerjakelompok