forked from server/soundboard
Fix code directives in README.rst
This commit is contained in:
parent
4ef5e73e00
commit
d24cef2b51
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user