blob: 885a91223eacd6f6cd6e9730f8dd6f4cc3f3207b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
Session Service for RWA client
==============================
DBus-service, written in Python 3,
for managing sessions with Django and as a backend for GUI applications
Setup (on Debian-based systems)
-------------------------------
1. Install dependencies via ``apt``
sudo apt install python3 python3-venv python3-pip x11vnc libcairo2-dev libdbus-glib-1-dev libgirepository1.0-dev wget
2. Install Poetry
sudo pip3 install poetry
3. Install python dependencies for session service
poetry install
Testing
-------
1. Start service (must run in background):
poetry run python service.py
2. Use test client to start a session (needs a running Django on localhost):
poetry run python test_client.py
Licence
-------
::
Copyright © 2020 Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
Copyright © 2020 Jonathan Weth <dev@jonathanweth.de>
Licenced under the GPL, version 2.0 or later
Please see the LICENCE file accompanying this distribution for the
full licence text.
.. _AlekSIS: https://edugit.org/AlekSIS/AlekSIS
|