Updated README
This commit is contained in:
parent
602f3d0216
commit
98bc28b88d
10
README.md
10
README.md
@ -3,18 +3,26 @@
|
|||||||
* Python 3.9
|
* Python 3.9
|
||||||
* Set up virtual env
|
* Set up virtual env
|
||||||
|
|
||||||
|
```
|
||||||
% python3.9 -m venv caster_env
|
% python3.9 -m venv caster_env
|
||||||
% source caster_env/bin/activate
|
% source caster_env/bin/activate
|
||||||
|
|
||||||
% python3.9 -m pip install --upgrade pip
|
% python3.9 -m pip install --upgrade pip
|
||||||
% pip install urwid pychromecast nest_asyncio
|
% pip install urwid pychromecast nest_asyncio
|
||||||
|
```
|
||||||
|
|
||||||
# Debug flow
|
# Debug flow
|
||||||
|
|
||||||
In run terminal - redirect STDERR from caster to an output file:
|
In run terminal - redirect `STDERR` from caster to an output file:
|
||||||
|
|
||||||
|
```
|
||||||
% ./caster.py 2> ste
|
% ./caster.py 2> ste
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
In another terminal, monitor the output file:
|
In another terminal, monitor the output file:
|
||||||
|
|
||||||
|
```
|
||||||
% tail -f ste
|
% tail -f ste
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user