mini install howto + scripts
parent
dd6c176527
commit
f83fab30ca
15
README.md
15
README.md
|
@ -4,6 +4,21 @@ This map is live here:
|
||||||
|
|
||||||
* https://satnogsmap.spacecruft.org/
|
* https://satnogsmap.spacecruft.org/
|
||||||
|
|
||||||
|
# Install
|
||||||
|
```
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
# If it prompts you, (b)ackup:
|
||||||
|
What to do? (i)gnore, (w)ipe, (b)ackup b
|
||||||
|
```
|
||||||
|
|
||||||
|
Then install some cruft to start and stop the daemon
|
||||||
|
(XXX do systemd etc...)
|
||||||
|
|
||||||
|
```
|
||||||
|
mkdir ~/bin/
|
||||||
|
cp -p scripts/* ~/bin/
|
||||||
|
# If it isn't there add ~/bin/ to your $PATH in ~/.bashrc
|
||||||
|
```
|
||||||
|
|
||||||
# Upstream
|
# Upstream
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
requests>=2.21.0
|
|
||||||
flask>=1.0.2
|
|
||||||
apscheduler>=3.5.0
|
|
||||||
satellitetle>=0.5.1
|
|
||||||
tqdm>=4.30.0
|
|
||||||
skyfield>=1.10
|
|
||||||
numpy >=1.16
|
|
||||||
-e git+https://gitlab.com/librespacefoundation/satnogs/python-satnogs-api@e20a7d3c98526edb55f0dd20f58a4295f09a7bff#egg=satnogs_api_client
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd devel/satnogsmap
|
||||||
|
|
||||||
|
python3 ./satnogs.py 1>/home/jebba/log/map.log 2>/home/jebba/log/map.err &
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
kill `ps ax|grep "python3 ./satnogs.py" | grep -v grep| cut -c 1-5`
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
ps ax|grep "python3 ./satnogs.py" | grep -v grep
|
||||||
|
|
Loading…
Reference in New Issue