]> git.parisson.com Git - telecaster-cgi.git/commitdiff
fix doc
authoryomguy <yomguy@parisson.com>
Thu, 5 Jan 2012 13:20:51 +0000 (14:20 +0100)
committeryomguy <yomguy@parisson.com>
Thu, 5 Jan 2012 13:20:51 +0000 (14:20 +0100)
README.rst
install.py

index fcf07302440ab9b43e6e09c6644a8db1ab011f5c..39a06dfff7818e5b41a1b08a0bc1d785cddc42f8 100644 (file)
@@ -41,11 +41,14 @@ Needed::
                         icecast2 apache2 apache2-suexec jackd libjack-jackd2-dev vorbis-tools procps meterbridge fluxbox \
                         vnc4server vncviewer swh-plugins jack-rack libshout3 libshout3-dev libmad0-dev libogg-dev g++ \
                         libgstreamer0.10-0 gstreamer0.10-plugins-good gstreamer0.10-plugins-base gstreamer0.10-plugins-bad \
-                        gstreamer-tools git-core python-pip
+                        gstreamer-tools git-core python-pip make
 
-Optional::
+Cleanup::
 
     sudo aptitude remove --purge pulseaudio
+
+Additional formats::
+
     sudo aptitude install libfaac-dev libmp3lame-dev libflac-dev
 
 Note that obtaining and installing a preempt RT kernel is STRONGLY advised to get a good audio (JACK) stability.
@@ -78,11 +81,19 @@ Edit the following files to setup TeleCaster. Please be careful with the XML syn
 
     /etc/telecaster/telecaster.xml
 
-and, ONLY if needed::
+and tune your configuration according with your JACK setup, vnc port, icecast passwords, twitter keys, deefuzzer conf, etc...::
 
     /etc/default/jackd
     /etc/default/vncserver
+    /etc/default/icecast2
+    /etc/icecast2/icecast.xml
+    /etc/telecaster/deefuzzer_safe.xml
+    /etc/telecaster/deefuzzer.xml
+
+For more infos on how to configure the deefuzzer streaming tool, see ::
 
+    http://svn.parisson.org/deefuzzer
+    https://github.com/yomguy/DeeFuzzer
 
 5. Start audio deamons
 ------------------------
@@ -100,6 +111,7 @@ Configure your apache VirtualHost editing /etc/apache2/sites-available/telecaste
 
 Enable the VirtualHost::
 
+    sudo a2enmod suexec
     sudo a2ensite telecaster.conf
 
 Maybe remove the default VirtualHost::
@@ -114,7 +126,7 @@ Reload Apache::
 7. Usage
 ----------
 
-Browse the TeleCaster web control page:
+Browse the TeleCaster web control page::
 
     http://localhost/telecaster/telecaster.py
 
@@ -127,10 +139,10 @@ To change the form options, just edit the conf file as root::
 Contact
 =========
 
-Any questions, suggestions ? Please post a ticket on the dev platform:
+Any questions, suggestions ? Please post a ticket on the dev platform::
 
     https://github.com/yomguy/TeleCaster-CGI
 
-or contact the main developer:
+or contact the main developer::
 
     Guillaume Pellerin <yomguy@parisson.com>
index 55b2d0e4ddbd58d990d2704411982c856515cf4c..d3903256e0936b34d5d98713ca3b34c6ed7380ba 100644 (file)
@@ -69,6 +69,17 @@ if os.path.exists(install_dir):
     shutil.rmtree(install_dir)
 shutil.copytree(app_dir, install_dir,ignore=shutil.ignore_patterns('edcast-jack*', 'deefuzzer*', '*.svn*', '*.bzr*'))
 os.system('chown -R ' + user + ':' + user + ' ' + install_dir)
+os.system('chmod 755 ' + install_dir + 'telecaster.py')
+
+dir = '/var/www/rss'
+if not os.path.exists(dir):
+    os.mkdir(dir)
+os.system('chown -R ' + user + ':' + user + ' ' + dir)
+
+dir = '/var/www/m3u'
+if not os.path.exists(dir):
+    os.mkdir(dir)
+os.system('chown -R ' + user + ':' + user + ' ' + dir)
 
 conf_dir = '/etc/telecaster'
 if not os.path.exists(conf_dir):