]> git.parisson.com Git - telemeta.git/commitdiff
cleanup, fix doc, fix a CSS bug
authoryomguy <yomguy@parisson.com>
Mon, 20 Jun 2011 13:25:59 +0000 (15:25 +0200)
committeryomguy <yomguy@parisson.com>
Mon, 20 Jun 2011 13:25:59 +0000 (15:25 +0200)
INSTALL.rst
example/sandbox.wsgi
telemeta/htdocs/css/telemeta.css
telemeta/web/base.py

index 2963c295467acea9a9653179bc60eda108cd4a96..1dc02f33f40f93827bb698027018b8e2fc48e1a4 100644 (file)
@@ -3,7 +3,7 @@ Telemeta - INSTALL
 ==================
 
 -----------------
-0. Requirements
+Requirements
 -----------------
 
 Telemeta is designed to run on Linux and other UNIX based architectures.
@@ -13,7 +13,7 @@ See http://djangoproject.com.
 Other needed librairies are listed below.
 
 -----------------------
-1. Install the software
+Install the software
 -----------------------
 
 Install the dependencies
@@ -87,7 +87,7 @@ Install Telemeta
 
 
 --------------------------
-2. Create a Django project
+Create a Django project
 --------------------------
 
 If you haven't already done it, start a new django project::
@@ -97,7 +97,7 @@ If you haven't already done it, start a new django project::
 
 
 -----------------------------------------
-3. Create the media and cache directories
+Create the media and cache directories
 -----------------------------------------
 
 We need 2 directories for media and caching::
@@ -110,7 +110,7 @@ You might want to place these data directories somewhere else, no pb.
 
 
 ----------------------------------
-4. Configure the telemeta project
+Configure the telemeta project
 ----------------------------------
 
 Edit the file settings.py in a text editor.
@@ -190,7 +190,7 @@ You can find an example for settings.py there::
 
 
 --------------------------
-5. Initialize the database
+Initialize the database
 --------------------------
 
 This synchronizes the DB with the model::
@@ -199,7 +199,7 @@ This synchronizes the DB with the model::
 
 
 ----------------------
-6. Configure your urls
+Configure your urls
 ----------------------
 
 Add this dictionary to get Javascript translation::
@@ -232,7 +232,7 @@ You can find an example for url.py there::
 
 
 --------------------
-7. Start the project
+Start the project
 --------------------
 
 We are ready to start the telemeta server::
@@ -245,7 +245,7 @@ By default, the server starts on the port 8000. You can override this with, for
 
 
 -----------
-8. Test it
+Test it
 -----------
 
 Go to this URL with your browser::
@@ -256,11 +256,22 @@ or::
 
     http://localhost:9000
 
+
+Configure the site domain name in admin > general admin > sites
+
 Test it and enjoy it !
 
+--------------------------
+Template customization
+--------------------------
 
+Please see ::
+    
+    http://telemeta.org/wiki/InterfaceCustomization
+    
+    
 --------------------------
-9. Deploy it with Apache
+Deploy it with Apache 2
 --------------------------
 
 If you want to use Telemeta through a web server, it is highly recommended to use Apache 2
@@ -272,11 +283,11 @@ This will prevent Apache to put some audio data in the cache memory as it is usu
 
 You can find an example of an Apache2 VirtualHost conf file there::
 
-    conf/examples/apache2/telemeta.conf
+    example/apache2/telemeta.conf
 
 
 -------------------------
-10. Contact / More infos
+Contact / More infos
 -------------------------
 
 See README and http://telemeta.org.
index 7b4a992e6cece36adb4edae22892a72dddbfc782..100fa8be1da703c9809b447f29f687de8017c1a8 100644 (file)
@@ -4,8 +4,10 @@
 import os
 import sys
 
-sys.path.append('.')
-sys.path.append('./sandbox')
+here = os.path.dirname(__file__)
+
+sys.path.append(here)
+sys.path.append(os.path.join(here,'sandbox'))
 
 os.environ['DJANGO_SETTINGS_MODULE'] = 'sandbox_generic.settings'
 
index 0cde486f472847a5863419a2ec1935700df0f8e6..3ff8bc2abd1a63b8c80821f78e9526b1fc41ca29 100644 (file)
@@ -948,7 +948,7 @@ a.image-link {
     padding:2px;
 }
 .markerdiv .ts-marker{
-    background-image: url(../images/marker_tiny.png'); text-align: center; min-width:3ex;
+    background-image: url('../images/marker_tiny.png'); text-align: center; min-width:3ex;
 }
 .markerdiv .ts-marker, .markerdiv .markersdivOffset, .markerdiv .markersdivTitle, .markerdiv .markersdivAddPlaylist, .markerdiv .markersdivEdit{margin-right:.8ex;}
 .markerdiv div a, .markerdiv div a:visited, .markerdiv div a:hover{
index 50e30c23e05de61c1a15c2b5f92f4b8786a17b77..573a8a8d2e81830c3fcbe6ccaf08af51483fd550 100644 (file)
@@ -1202,7 +1202,6 @@ class LastestRevisionsFeed(Feed):
         return get_revisions(25)
 
     def item_title(self, r):
-        revision = r['revision']
         element = r['element']
         if element.title == '':
             title = str(element.public_id)