From 4d739959d76c37f8fa1038d125d1bfc31b68bcaa Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 17 Aug 2014 22:02:50 +0200 Subject: [PATCH] add code types --- README.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index b8562ac..032a00d 100644 --- a/README.rst +++ b/README.rst @@ -266,8 +266,9 @@ Debian, Ubuntu For Debian based distributions, we provide a safe repository which provides all additional dependencies that are not included in Debian yet. Please follow the instructions on `this page `_. -Note you can also use pip if you already have *already* satisfied all the dependencies:: +Note you can also use pip if you already have *already* satisfied all the dependencies: + .. code:: bash sudo pip install timeside Other Linux distributions @@ -275,8 +276,9 @@ Other Linux distributions On other Linux platforms, you need to install all dependencies listed in the paragraph "Dependencies" (find all equivalent package names for your distribution). -Then, use pip:: +Then, use pip: + .. code:: bash sudo pip install timeside OSX @@ -369,8 +371,9 @@ Web server An EXPERIMENTAL web server based on Django has been added to the package from version 0.5.5. The goal is to provide a full REST API to TimeSide to enable new kinds of audio processing web services. -A sandbox is provided in timeside/server/sandbox and you can initialize it and test it like this:: +A sandbox is provided in timeside/server/sandbox and you can initialize it and test it like this: + .. code:: bash cd timeside/server/sandbox ./manage.py syncdb ./manage.py migrate @@ -387,8 +390,9 @@ Development On Debian 7 Wheezy ------------------- -The shell commands to setup the development version on you system:: +The shell commands to setup the development version on you system: + .. code:: bash wget -O - http://debian.parisson.com/debian/conf/parisson.gpg.key | sudo apt-key add - echo "deb http://http.debian.net/debian/ wheezy-backports main" | sudo tee -a /etc/apt/sources.list echo "deb http://debian.parisson.com/debian/ wheezy main" | sudo tee -a /etc/apt/sources.list @@ -405,8 +409,9 @@ VirtualBox and Vagrant ----------------------- We also provide a vagrant box to install a virtual Debian system including TimeSide and all other dependencies. -First, install Vagrant and VirtualVox:: +First, install Vagrant and VirtualVox: + .. code:: bash sudo apt-get install vagrant virtualbox On other OS, we need to install the packages correponding to your system: @@ -414,15 +419,17 @@ On other OS, we need to install the packages correponding to your system: * Vagrant: https://www.vagrantup.com/downloads.html * VirtualBox: https://www.virtualbox.org/wiki/Downloads -Then setup our image box like this in a terminal:: +Then setup our image box like this in a terminal: + .. code:: bash vagrant box add parisson/timeside-wheezy64 http://files.parisson.com/vagrant/timeside/parisson-timeside-wheezy64.box vagrant init parisson/timeside-wheezy64 vagrant up vagrant ssh -To stop the virtual box:: +To stop the virtual box: + .. code:: bash exit vagrant halt -- 2.39.5