it/itf/README.txt
2011-10-08 03:03:05 -04:00

65 lines
1.8 KiB
Plaintext
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

db name = 'theatre' - change if different.
Install Solango:
svn checkout http://django-solr-search.googlecode.com/svn/trunk/ django-solr-search
cd django-solr-search
sudo python setup.py install
You will also need to install Solr, follow instructions here:
http://www.screeley.com/djangosolr/install.html#install
Install Django-Multilingual:
svn checkout http://django-multilingual.googlecode.com/svn/trunk/ django-multilingual
cd django-multilingual
sudo python setup.py install
Install Djangologging for debugging (svn checkout http://django-logging.googlecode.com/svn/trunk/ django-logging-read-only):
svn checkout http://django-logging.googlecode.com/svn/trunk/ django-logging-read-only djangologging
sudo mv djangologging/ /var/lib/python-support/python2.6/
For Django-Extensions and Graphing Tool:
sudo apt-get install graphviz graphviz-dev
sudo easy_install pygraphviz
Download and install django_extensions: http://code.google.com/p/django-command-extensions/downloads/list
Add django_extensions to your INSTALLED_APPS in settings.py
Command to generate PNG visualization of your models: ./manage.py graph_models -a -g -o my_project_visualized.png
mysqld --verbose --help | grep character-set
Youll probably see:
character-set-server latin1
You want this to be uft8. To modify it, edit your my.conf file ( /etc/mysql/my.conf on ubuntu ), adding the following lines to the appropriate sections:
[client]
default-character-set = utf8
[mysqld]
character-set-server=utf8
collation-server=utf8_unicode_ci
init_connect=set collation_connection = utf8_unicode_ci;
Now restart mysql:
sudo /etc/init.d/mysql restart
And alter your existing tables to use the utf8 encoding:
mysql your_db_name
alter table your_table_name convert to character set utf8;
And that should do it.