Improve installation and quickstart docs

This commit is contained in:
boyska 2021-03-27 12:26:19 +01:00
parent 74a0f2c902
commit d4852d5df4
3 changed files with 8 additions and 1 deletions

View file

@ -88,6 +88,8 @@ CONTINOUS_AUDIOSPEC
audios. The default is ``{"kind": "mpd", "howmany": 1}``. You could, for example, change it to
``{ "kind": "randomdir", "paths": ["/var/music"], "howmany": 10}``
or to ``{"kind": "mpd", "howmany": 5, "prefix": "background"}``.
Yes, there's a typo in the name, but I'll keep it like this for compatibility
EVENT_FILTERS
See :doc:`eventfilters`
LOG_CONFIG

View file

@ -16,7 +16,7 @@ Let's start!::
apt-get install python3 python3-dev build-essential virtualenv mpd
virtualenv -p /usr/bin/python3 /opt/larigira/
/opt/larigira/bin/pip3 install larigira
/opt/larigira/bin/pip3 install --no-binary :all: larigira
touch /etc/default/larigira
mkdir -p /home/radio/.mpd/ /etc/larigira/ /var/log/larigira/
chown radio:adm /var/log/larigira/
@ -29,9 +29,12 @@ Edit ``/etc/systemd/system/larigira.service`` and put this content::
After=mpd.service
[Service]
Type=notify
NotifyAccess=all
EnvironmentFile=/etc/default/larigira
User=radio
ExecStart=/opt/larigira/bin/larigira
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -55,6 +55,8 @@ setup(
"werkzeug==0.14.1",
"cachelib==0.1",
"tinydb==3.12.2",
"lxml==4.5.1",
"requests==2.23.0",
],
tests_require=["pytest-timeout==1.0", "py>=1.4.29", "pytest==3.0"],
python_requires=">=3.5",