From 316d49ba67ee4565edcb75be3a844a8c64e27da6 Mon Sep 17 00:00:00 2001 From: "third=\"Beedell\", first=\"Roke\", second=\"Julian Lockhart" Date: Fri, 9 Jun 2023 15:44:44 +0100 Subject: [PATCH 1/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 20157653..99682646 100755 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ sudo apt install libsystemd-dev gcc pkg-config python3-dev Then you can install Yin-Yang in a python virtual environment: ```bash +bash git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang ## Create virtual environment for pypi packages python3 -m venv .venv From bcb66fb2eb288b382ef6e51b2065cac930b35ef6 Mon Sep 17 00:00:00 2001 From: "third=\"Beedell\", first=\"Roke\", second=\"Julian Lockhart" Date: Fri, 9 Jun 2023 15:54:21 +0100 Subject: [PATCH 2/5] Fix cloning --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 99682646..cd9398a5 100755 --- a/README.md +++ b/README.md @@ -61,7 +61,9 @@ sudo apt install libsystemd-dev gcc pkg-config python3-dev Then you can install Yin-Yang in a python virtual environment: ```bash bash +rm -rf Yin-Yang git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang +if pwd != "Yin-Yang"; then cd Yin-Yang; fi ## Create virtual environment for pypi packages python3 -m venv .venv source .venv/bin/activate From 287016f4f7d30d99234adfe58484143baabde9e2 Mon Sep 17 00:00:00 2001 From: "third=\"Beedell\", first=\"Roke\", second=\"Julian Lockhart" Date: Fri, 9 Jun 2023 16:05:29 +0100 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd9398a5..06e3010b 100755 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Then you can install Yin-Yang in a python virtual environment: ```bash bash rm -rf Yin-Yang -git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang +git clone https://github.com/oskarsh/Yin-Yang if pwd != "Yin-Yang"; then cd Yin-Yang; fi ## Create virtual environment for pypi packages python3 -m venv .venv From eddc3dcd40bea1bd38f0383d310f0391463f87c6 Mon Sep 17 00:00:00 2001 From: "third=\"Beedell\", first=\"Roke\", second=\"Julian Lockhart" Date: Fri, 9 Jun 2023 16:10:56 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 06e3010b..0b723019 100755 --- a/README.md +++ b/README.md @@ -52,6 +52,12 @@ For CentOS, RHEL, and Fedora: sudo dnf install gcc systemd-devel ``` +For OpenSUSE: +```bash +sudo zypper refresh +sudo zypper install gcc systemd-devel +``` + For Debian, Ubuntu, etc. ```bash sudo apt update @@ -60,16 +66,20 @@ sudo apt install libsystemd-dev gcc pkg-config python3-dev Then you can install Yin-Yang in a python virtual environment: ```bash +# bash is necessary to run the source command bash +# Removes any already present Yin-Yang code rm -rf Yin-Yang +# Clones the code to your local machine git clone https://github.com/oskarsh/Yin-Yang +# Enters the directory containing Yin-Yang's code if pwd != "Yin-Yang"; then cd Yin-Yang; fi -## Create virtual environment for pypi packages +## Creates a virtual environment for pypi (pip) packages python3 -m venv .venv source .venv/bin/activate -# Install pip requirements +# Installs pip requirements specified in repository pip3 install -r requirements.txt -# Install Yin-Yang +# Installs Yin-Yang ./scripts/install.sh ``` From 740a0f4c1e61bce7f76cc70744bff5a901508d92 Mon Sep 17 00:00:00 2001 From: "third=\"Beedell\", first=\"Roke\", second=\"Julian Lockhart" Date: Fri, 9 Jun 2023 16:13:25 +0100 Subject: [PATCH 5/5] Update README.md Using the `.git` file should provide more consistency when cloning the repository, right? --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b723019..e816d4cf 100755 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ bash # Removes any already present Yin-Yang code rm -rf Yin-Yang # Clones the code to your local machine -git clone https://github.com/oskarsh/Yin-Yang +git clone https://github.com/oskarsh/Yin-Yang.git # Enters the directory containing Yin-Yang's code if pwd != "Yin-Yang"; then cd Yin-Yang; fi ## Creates a virtual environment for pypi (pip) packages