From bb3dfe45fb803654bb999a1c7cfeaa788fd6b59d Mon Sep 17 00:00:00 2001 From: Boris Pozdena Date: Sun, 6 Feb 2022 16:54:56 +0100 Subject: [PATCH] Added docs with simple insall steps --- docs/INSTALL.md | 20 +++++++++++++++++++ requirements.txt | 3 +-- src/{ => __thrash}/setup_wizard.py | 0 src/{ui => __thrash}/ui_setup_wizard.py | 0 src/{ui => __thrash}/ui_wizardPage_welcome.py | 0 src/{ui => __thrash}/wizardPage_welcome.ui | 0 6 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 docs/INSTALL.md rename src/{ => __thrash}/setup_wizard.py (100%) rename src/{ui => __thrash}/ui_setup_wizard.py (100%) rename src/{ui => __thrash}/ui_wizardPage_welcome.py (100%) rename src/{ui => __thrash}/wizardPage_welcome.ui (100%) diff --git a/docs/INSTALL.md b/docs/INSTALL.md new file mode 100644 index 0000000..96137b2 --- /dev/null +++ b/docs/INSTALL.md @@ -0,0 +1,20 @@ + # Installation steps + +1) Ensure [OneDrive for Linux](https://abraunegg.github.io/) is instelled based on [instructions](https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md) for your distro. +1) Ensure Python3 and [pip](https://pip.pypa.io/en/stable/installation/) are installed on your system. +1) Clone or download content this repository. +1) (Optional) Create and activate a Python virtual environment: +```sh +python3 -m venv venv +source venv/bin/activate +``` +1) Install dependencies: +```sh +python3 -m pip install -r requirements.txt +``` +1) Start OneDrive GUI: +```sh +cd OneDriveGUI/ +python3 OneDriveGUI.py +``` + diff --git a/requirements.txt b/requirements.txt index 4fce7fe..7fa34f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ -psutil==5.9.0 -PySide6==6.2.2.1 +PySide6 diff --git a/src/setup_wizard.py b/src/__thrash/setup_wizard.py similarity index 100% rename from src/setup_wizard.py rename to src/__thrash/setup_wizard.py diff --git a/src/ui/ui_setup_wizard.py b/src/__thrash/ui_setup_wizard.py similarity index 100% rename from src/ui/ui_setup_wizard.py rename to src/__thrash/ui_setup_wizard.py diff --git a/src/ui/ui_wizardPage_welcome.py b/src/__thrash/ui_wizardPage_welcome.py similarity index 100% rename from src/ui/ui_wizardPage_welcome.py rename to src/__thrash/ui_wizardPage_welcome.py diff --git a/src/ui/wizardPage_welcome.ui b/src/__thrash/wizardPage_welcome.ui similarity index 100% rename from src/ui/wizardPage_welcome.ui rename to src/__thrash/wizardPage_welcome.ui