Fix code directives in README.rst

This commit is contained in:
Martin Müller 2017-07-19 12:28:09 +02:00
parent 4ef5e73e00
commit d24cef2b51

View File

@ -11,14 +11,14 @@ Requirements
- youtube-dl - youtube-dl
- espeak - espeak
. code:: .. code::
apt install espeak omxplayer python3.4 python3-pip apt install espeak omxplayer python3.4 python3-pip
pip3 install virtualenv youtube-dl pip3 install virtualenv youtube-dl
It is highly recommended to install the soundboard and its dependencies into a virtual environment to keep the system clean. To do so first create a new virtual environment in the desired folder and install the remaining Python dependencies via the `pip` of the virtualenv: It is highly recommended to install the soundboard and its dependencies into a virtual environment to keep the system clean. To do so first create a new virtual environment in the desired folder and install the remaining Python dependencies via the `pip` of the virtualenv:
. code:: .. code::
virtualenv py virtualenv py
py/bin/pip install -r requirements.txt py/bin/pip install -r requirements.txt
@ -28,7 +28,7 @@ Apache
It is also recommended to use Apache instead of the Python Flask web server. It is also recommended to use Apache instead of the Python Flask web server.
. code:: .. code::
apt install apache2 libapache2-mod-wsgi-py3 apt install apache2 libapache2-mod-wsgi-py3
@ -49,7 +49,7 @@ Development/Debugging
For development and debugging the internal web server of Flask can be used e.g. by running following command inside the project folder: For development and debugging the internal web server of Flask can be used e.g. by running following command inside the project folder:
. code:: .. code::
FLASK_DEBUG=1 FLASK_APP=soundboard.py py/bin/flask run --host=0.0.0.0 FLASK_DEBUG=1 FLASK_APP=soundboard.py py/bin/flask run --host=0.0.0.0