You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Karen 28b5452912 social icons 12 years ago
..
app major cleanup 12 years ago
bestpractices add formfield_overrides to bestpractice stories 13 years ago
emailer search stuff 12 years ago
festival session videos silliness 12 years ago
frontpage use jquery.pandoravideo.js 12 years ago
insidepages major cleanup 12 years ago
itfcore test profile form + padma video 12 years ago
itfprofiles er, add admin.py for profiles 12 years ago
newsfeed resolved conflicts 13 years ago
padmavideos test profile form + padma video 12 years ago
pages search stuff 12 years ago
profiles resolved conflicts 13 years ago
quotes resolved conflicts 13 years ago
scriptbank emailer changes 13 years ago
static social icons 12 years ago
templates social icons 12 years ago
tmp box_titles, erang images, etc 12 years ago
README.txt resolved conflicts 13 years ago
TODO resolved conflicts 13 years ago
__init__.py added stuff to tree 14 years ago
manage.py added stuff to tree 14 years ago
monitor.py added stuff to tree 14 years ago
search_sites.py resolved conflicts 13 years ago
settings.py g+, facebook like, etc 12 years ago
urls.py major cleanup 12 years ago

README.txt

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

You’ll 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.