diff --git a/README.rst b/README.rst index b672238..118f1ef 100644 --- a/README.rst +++ b/README.rst @@ -13,7 +13,7 @@ Requirements .. code:: - apt install espeak omxplayer python3.4 python3-pip python3-dbus + apt install espeak omxplayer python3.4 python3-pip python3-dbus sqlite3 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: @@ -35,6 +35,8 @@ It is also recommended to use Apache instead of the Python Flask web server. Installation ============ +To create the initial database for the metadata, following command can be used together with the schema file: :code:`sqlite3 metadata.sqlite < schema.sql`. + The web server user (e.g. `www-data`) must be in the `audio` and `video` groups. You can add them via `usermod -a -G audio,video www-data`. Also the file `/dev/vchiq` should be writeable by the web user (e.g. `www-data`). A quick & dirty way is to use :code:`chmod +rw` on the file.