diff --git a/Install-and-run-the-program.md b/Install-and-run-the-program.md index 0941f92..bbbc38b 100644 --- a/Install-and-run-the-program.md +++ b/Install-and-run-the-program.md @@ -5,9 +5,10 @@ 2. Extract the zip archive you just downloaded. ## GNU/Linux -1. From the releases page, download either `biogascontrollerapp-linux.tar.gz` or the `install-linux.sh` script. -2. Extract the tarball and enter the extracted directory or give the script execute permission -3. Run `pip install -r requirements.txt` or run the script. +There are two methods. You may either download the `install-linux.sh` script and execute it, or you may do the following: +1. From the releases page, download either `biogascontrollerapp-linux.tar.gz` +2. Extract the tarball and enter the extracted directory +3. Run `pip install -r requirements.txt` # Run the app @@ -18,16 +19,18 @@ ## GNU/Linux (all distros) 1. Navigate to the folder where you have saved the files during install and enter the folder -2. Run the launch.py script or run `python biogascontrollerapp.py` in the terminal +2. Run the launch.sh script (that will activate your virtual environment and run the app) or run `python biogascontrollerapp.py` in the terminal # Dev Versions -First things first, you need to get the code of the BiogasControllerApp. For this, head to the "code" tab on GitHub and then, when downloading the development version, click "code" (the green button) and hit "download zip". If you want to download the code for the latest release of the BiogasControllerApp, then instead of clicking onto the green "code" button, click onto "Releases" on the right-hand side and select the latest release. Then, download either the Zip file or the G-Zip compressed Tarball (.tar.gz file). +First things first, you need to get the code of the BiogasControllerApp. For this, head to the "code" tab on GitHub and then, when downloading the development version, click "code" (the green button) and hit "download zip". + +If you want to download the code for the latest release of the BiogasControllerApp, then instead of clicking onto the green "code" button, click onto "Releases" on the right-hand side and select the latest release. Then, download either the Zip file or the G-Zip compressed Tarball (.tar.gz file). Now head to the folder you downloaded the file into and extract the archive. ## Installing dependencies -In the folder of the repo, run `pip install -r requirements.txt`, preferrably in a venv. +In the folder of the repo, run `pip install -r requirements.txt`, preferably in a venv. Then, simply run the app using python