Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 687 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 687 Bytes

mediaserver

Thu meida server list

Simplified from cgserver.

Remove most services except server list. Remove user control system.

Usage

Server-side

pip3 install -r requirements.txt
cp mediaserver/settings.py.sample mediaserver/settings.py
cp serverlist/scripts/add_clients.py.sample serverlist/scripts/add_clients.py

Then

python3 manage.py migrate
python3 manage.py runscript add_clients
python3 manage.py runserver

Client-side

pip3 install -r requirements.txt
cp settings.py.sample settings.py

Update crontab, for example:

*/15 * * * * python3 some-path/client-side/report.py