Skip to content

Commit

Permalink
Merge pull request #206 from RokeJulianLockhart/patch-2
Browse files Browse the repository at this point in the history
Improve installation instructions.
  • Loading branch information
l0drex authored Oct 7, 2023
2 parents 42ce4da + 740a0f4 commit fabf76e
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ For CentOS, RHEL, and Fedora:
sudo dnf install gcc systemd-devel python3-devel
```

For OpenSUSE:
```bash
sudo zypper refresh
sudo zypper install gcc systemd-devel
```

For Debian, Ubuntu, etc.
```bash
sudo apt update
Expand All @@ -60,13 +66,20 @@ sudo apt install libsystemd-dev gcc pkg-config python3-dev

Then you can install Yin-Yang in a python virtual environment:
```bash
git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
## Create virtual environment for pypi packages
# 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.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
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
```

Expand Down

0 comments on commit fabf76e

Please sign in to comment.