python (>= 2.3.5-7), python-xml, python-central (>= 0.5),
python-mutagen, python-django (>= 0.96.1), sox, vorbis-tools, flac, normalize-audio,
-ecasound, festival, par2, python-mysqldb, sqlite3 | mysql-server, octave2.9,
+python-mysqldb, sqlite3 | mysql-server, octave2.9,
octave2.9-forge, python-tk, libgd2-xpm, libsndfile1
optional:
-lame
+lame, ecasound, par2
# 2. Install
# ==========
Uncompress the archive, go to the main folder of telemeta and run this command
in a shell as root:
- $ python setup.py install
+ $ sudo python setup.py install
* Compile wav2png in telemeta/telemeta/visualization/wav2png
$ cd ~/my_projects
$ django-admin startproject mysite
-2.3. Put a link to telemeta into your Django project:
-
- $ ln -s ~/my_apps/telemeta/telemeta ~/my_projects/mysite/telemeta
-
- OR: add the telemeta path to PYTHONPATH
-
-2.4. Create the media and cache directories:
+2.3. Create the media and cache directories:
$ cd mysite
$ mkdir media cache
You might want to place these somewhere else...
-2.5. Configure Django (settings.py):
+2.4. Configure Django (settings.py):
Modifiy the following variables:
DATABASE_*: your database settings (don't forget to create the database if needed)
MEDIA_ROOT: absolute path to the media directory you just created
- INSTALLED_APPS: add 'mysite.telemeta'
+ INSTALLED_APPS: add 'telemeta'
Add the following variables:
- TELEMETA_CACHE_DIR: absolute path to the cache directory you just created
+ TELEMETA_CACHE_DIR = absolute path to the cache directory you just created
Just paste the two lines below:
TELEMETA_EXPORT_CACHE_DIR = TELEMETA_CACHE_DIR + "/export"
CACHE_BACKEND = "file://" + TELEMETA_CACHE_DIR + "/data"
-2.6. Initialize the database:
+2.5. Initialize the database:
$ python manage.py syncdb
-2.7. Configure your urls:
+2.6. Configure your urls:
The simplest case is to have telemeta running at public root. To do so, add
this url in urls.py :
(r'^', include('telemeta.urls')),
-2.8. Start the project:
+2.7. Start the project:
$ python manage.py runserver
-2.9. Go the web page:
+ By default, the server starts on the port 8000.
+ You can override this with, for example:
- http://localhost:8000
+ $ python manage.py runserver 9000
+
+2.8. Go the web page:
+ http://localhost:8000
See README and http://svn.parisson.org/telemeta/ for more informations.