aboutsummaryrefslogtreecommitdiff
path: root/README.rst
blob: 6b294b7baff1461febbce3b0dcc7826b1c2488a6 (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
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

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