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
|
12 years ago | |
---|---|---|
.. | ||
app | 12 years ago | |
bestpractices | 13 years ago | |
emailer | 12 years ago | |
festival | 12 years ago | |
frontpage | 12 years ago | |
insidepages | 12 years ago | |
itfcore | 12 years ago | |
itfprofiles | 12 years ago | |
newsfeed | 13 years ago | |
padmavideos | 12 years ago | |
pages | 12 years ago | |
profiles | 13 years ago | |
quotes | 13 years ago | |
scriptbank | 13 years ago | |
static | 12 years ago | |
templates | 12 years ago | |
tmp | 12 years ago | |
README.txt | 13 years ago | |
TODO | 13 years ago | |
__init__.py | 14 years ago | |
manage.py | 14 years ago | |
monitor.py | 14 years ago | |
search_sites.py | 13 years ago | |
settings.py | 12 years ago | |
urls.py | 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.