Roshan Book

My Tech Notebook

Setting up rancho in django


Follow instructions listed in here http://www.getrancho.com/media/files/README.pdf

Installing psycopg2 : http://www.saltycrane.com/blog/2009/07/using-psycopg2-virtualenv-ubuntu-jaunty/

Installing mysqldb –https://roshanbook.wordpress.com/2011/12/20/how-to-install-mysqldb-in-a-virtualenv-on-ubuntu-karmic/

to install dependencies inside virtual env:

install virtuaev -pip install virtualenv
install python image library-
pip install --no-index -f http://dist.plone.org/thirdparty/ -U PIL
install mysqldb- pip install MySQL-python
install pytz - pip install pytz
install pisa - pip install pisa
 
 

Go to wikiboard view change ho.pisa module to xhtml2pdf.pisa

add ’django.middleware.csrf.CsrfResponseMiddleware’, to settings

add mysql only as database setting

install all rancho needed module via sudo easy_install modulename

When you implement the project you get an error where you are unable to upload and message under any project. To solve this refer

http://code.google.com/p/django-tagging/issues/detail?id=233

Patch is at http://code.google.com/p/django-tagging/issues/attachmentText?id=233&aid=-8130674876521494184&name=patch_prealpha_fix.diff&token=jHsKmdEwdlE38gHO-m86Q6BH3MY%3A1324220044756

 

To resolve tinymce>>widget.py error – cannot import smart_unicode

see patch http://code.google.com/p/django-tinymce/issues/attachmentText?id=63&aid=-4089731018218914032&name=tinymce-django12alpha.diff&token=giMV8_cMwqMy7s8gzL2Rv19uKic%3A1324448267646

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: