Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add readme.txt

  • Loading branch information...
commit 6a5e87db96a996e19c8b0d5ff9848380ac26b2be 1 parent 5dcb199
@yangjiandong authored
Showing with 53 additions and 0 deletions.
  1. +53 −0 docs/readme.txt
View
53 docs/readme.txt
@@ -0,0 +1,53 @@
+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?
+ 类似 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
+ --没影响
+
+ --END
Please sign in to comment.
Something went wrong with that request. Please try again.