From bb2ee8cdec0ef5e840984541a1ead8a259efd140 Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 4 Oct 2012 16:34:04 +0200 Subject: [PATCH] fix doc --- INSTALL.rst | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/INSTALL.rst b/INSTALL.rst index 77d984e7..ba91407b 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -52,7 +52,6 @@ or (deprecated):: From sources +++++++++++++ - Download the latest tar archive at http://telemeta.org. Uncompress and install it. For example:: @@ -116,21 +115,21 @@ Fast testing (sandbox) If you just want to test Telemeta just now, a sandbox is available in the example/ directory:: - cd example/sandbox_sqlite - ./manage.py syncdb --migrate + cd example/sandbox + ./manage.py syncdb + ./manage.py migrate ./manage.py runserver 9000 Now browse http://localhost:9000 - ------------------------------- Create a new Telemeta project ------------------------------- -Start the project +Start your project ------------------ -If you haven't already done it, start a new django project:: +For example:: cd ~/my_projects django-admin startproject mysite @@ -140,6 +139,7 @@ Create the database ------------------------ Telemeta needs MySQL to work well and fast. So you need to create a MySQL database before trying it. +But you can also use SQLite, PostgreSQL or Oracle DB. Configure the telemeta project @@ -190,7 +190,10 @@ Add the following variables:: TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', - 'django.contrib.auth.context_processors.auth',) + 'django.contrib.auth.context_processors.auth', + 'django.core.context_processors.i18n', + 'django.core.context_processors.media', + 'django.core.context_processors.static',) TELEMETA_ORGANIZATION = name of the organization which hosts this installation TELEMETA_SUBJECTS = tuple of subject keywords (used for Dublin Core), such as "Ethnology", etc... -- 2.39.5