From 2478fb7081ee3f659e8a4447f0eacb3a77485524 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 16 Oct 2022 18:02:32 -0600 Subject: [PATCH] More --- README.md | 7 ++++--- main.py | 2 +- requirements.txt | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 119820f..4c21873 100644 --- a/README.md +++ b/README.md @@ -175,10 +175,10 @@ Examples: 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 $ cd protovac/ -$ sudo apt update -$ sudo apt install python3 python3-dev python3-pip python3-virtualenv $ virtualenv -p python3 env $ source env/bin/activate (env) $ pip install -r requirements.txt @@ -234,7 +234,7 @@ SSH into the Raspberry Pi for setup: ``` $ 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 ``` @@ -263,6 +263,7 @@ protovac:x:1001:1001:,,,:/home/protovac:/home/pi/protovac/main.py ``` $ cd +$ chmod o+rx ~ $ git clone https://github.com/Protospace/protovac.git $ cd protovac/ $ sudo tic -o /lib/terminfo/ mt70 diff --git a/main.py b/main.py index 4071e7c..37bc2be 100755 --- a/main.py +++ b/main.py @@ -1,4 +1,4 @@ -#!/home/tanner/protovac/env/bin/python +#!/home/pi/protovac/env/bin/python import os, logging DEBUG = os.environ.get('DEBUG') diff --git a/requirements.txt b/requirements.txt index 51399f7..d2b6157 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ certifi==2022.6.15 charset-normalizer==2.1.1 idna==3.3 +Pillow==9.2.0 pytz==2022.2.1 requests==2.28.1 urllib3==1.26.12