From d24cef2b512bc6165051e5d2e9e79f596fff46c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Wed, 19 Jul 2017 12:28:09 +0200 Subject: [PATCH] Fix code directives in README.rst --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 6a75b97..1375c80 100644 --- a/README.rst +++ b/README.rst @@ -11,14 +11,14 @@ Requirements - youtube-dl - espeak -. code:: +.. code:: apt install espeak omxplayer python3.4 python3-pip 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: -. code:: +.. code:: virtualenv py 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. -. code:: +.. code:: 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: -. code:: +.. code:: FLASK_DEBUG=1 FLASK_APP=soundboard.py py/bin/flask run --host=0.0.0.0