More
This commit is contained in:
parent
098aab9dc3
commit
2478fb7081
|
@ -175,10 +175,10 @@ Examples:
|
||||||
For developing on your own Ubuntu / Debian machine:
|
For developing on your own Ubuntu / Debian machine:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
$ sudo apt update
|
||||||
|
$ sudo apt install python3 python3-dev python3-pip python3-virtualenv libopenjp2-7 git
|
||||||
$ git clone https://github.com/Protospace/protovac.git
|
$ git clone https://github.com/Protospace/protovac.git
|
||||||
$ cd protovac/
|
$ cd protovac/
|
||||||
$ sudo apt update
|
|
||||||
$ sudo apt install python3 python3-dev python3-pip python3-virtualenv
|
|
||||||
$ virtualenv -p python3 env
|
$ virtualenv -p python3 env
|
||||||
$ source env/bin/activate
|
$ source env/bin/activate
|
||||||
(env) $ pip install -r requirements.txt
|
(env) $ pip install -r requirements.txt
|
||||||
|
@ -234,7 +234,7 @@ SSH into the Raspberry Pi for setup:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo apt update
|
$ sudo apt update
|
||||||
$ sudo apt install python3 python3-dev python3-pip python3-virtualenv vim byobu
|
$ sudo apt install python3 python3-dev python3-pip python3-virtualenv libopenjp2-7 vim byobu git
|
||||||
$ sudo hostnamectl set-hostname protovac
|
$ sudo hostnamectl set-hostname protovac
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -263,6 +263,7 @@ protovac:x:1001:1001:,,,:/home/protovac:/home/pi/protovac/main.py
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd
|
$ cd
|
||||||
|
$ chmod o+rx ~
|
||||||
$ git clone https://github.com/Protospace/protovac.git
|
$ git clone https://github.com/Protospace/protovac.git
|
||||||
$ cd protovac/
|
$ cd protovac/
|
||||||
$ sudo tic -o /lib/terminfo/ mt70
|
$ sudo tic -o /lib/terminfo/ mt70
|
||||||
|
|
2
main.py
2
main.py
|
@ -1,4 +1,4 @@
|
||||||
#!/home/tanner/protovac/env/bin/python
|
#!/home/pi/protovac/env/bin/python
|
||||||
|
|
||||||
import os, logging
|
import os, logging
|
||||||
DEBUG = os.environ.get('DEBUG')
|
DEBUG = os.environ.get('DEBUG')
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
certifi==2022.6.15
|
certifi==2022.6.15
|
||||||
charset-normalizer==2.1.1
|
charset-normalizer==2.1.1
|
||||||
idna==3.3
|
idna==3.3
|
||||||
|
Pillow==9.2.0
|
||||||
pytz==2022.2.1
|
pytz==2022.2.1
|
||||||
requests==2.28.1
|
requests==2.28.1
|
||||||
urllib3==1.26.12
|
urllib3==1.26.12
|
||||||
|
|
Loading…
Reference in New Issue
Block a user