1
0
Fork 0

mini install howto + scripts

master
debian 2020-01-11 21:51:52 -07:00
parent dd6c176527
commit f83fab30ca
4 changed files with 29 additions and 8 deletions

View File

@ -4,6 +4,21 @@ This map is live here:
* 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

View File

@ -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

View File

@ -0,0 +1,6 @@
#!/bin/bash
cd devel/satnogsmap
python3 ./satnogs.py 1>/home/jebba/log/map.log 2>/home/jebba/log/map.err &

View File

@ -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