diff --git a/install.sh b/install.sh index f09f6a5..05f7353 100644 --- a/install.sh +++ b/install.sh @@ -1,11 +1,13 @@ #!/usr/bin/env bash -sudo apt install vlc git python3-dev build-essential python3-pip python3-wheel python3-cffi libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info cups libzmq-dev fortunes-off cups-bsd liblmdb-dev tcl8.6-dev tk8.6-dev libxml2-dev libxslt1-dev uvccapture uvcdynctrl +sudo apt install vlc git python3-dev build-essential python3-pip python3-wheel python3-cffi python3-venv libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info cups libzmq-dev fortunes-off cups-bsd liblmdb-dev tcl8.6-dev tk8.6-dev libxml2-dev libxslt1-dev uvccapture uvcdynctrl if sudo apt install linux-headers-$(uname -r) ; then echo "installed kernel headers for debian" else sudo apt install raspberrypi-kernel-headers echo "installed kernel headers for raspbian" fi -python3 -m venv .screenless-env -source .screenless-env/bin/activate -pip install screenless +git clone https://gitlab.com/bhowell/the-screenless-office.git +cd the-screenless-office +python3 -m venv .env +source .env/bin/activate +pip install -r requirements.txt