diff --git a/Install-and-run-the-program.md b/Install-and-run-the-program.md index a6c8e91..48ff5ef 100644 --- a/Install-and-run-the-program.md +++ b/Install-and-run-the-program.md @@ -51,5 +51,33 @@ The process is similar on every operating system, though the installation proces ## Installing Python + required packages: ### GNU/Linux (most distros) -1. Pygho +1. Python is preinstalled, though you‘ll need to install pip on most distros. Use „sudo (your package manager name here, (apt-get for ubuntu / debian based distros; dnf for fedora and pacman for arch based)) install pip“ +2. copy & paste the following commands into your terminal: +`pip install pyserial +pip install kivy[base]` +### MacOS +1. head to this link, install python and make sure you have pip selected: https://www.python.org/downloads/macos/ (be sure to download python 3.8, as newer versions may come in conflict with kivy. +2. now open a terminal and type the following commands: +`pip install pyserial +pip install kivy[base]` + +### Windows +1. head to this link, install python and make sure you have pip selected: https://www.python.org/downloads/windows/ (be sure to download python 3.8 as newer versions may come in conflict with kivy. +2. now open the command prompt (by typing „cmd“ into the search bar for example +3. type the following commands: +`pip install pyserial +pip install kivy[base]` + + +## Cloning the repository +Now that you have all of the dependencies installed on your system you may now clone the git repository. This works pretty much the same on every operating system. +1. Go ahead and open the terminal (GNU/Linux and MacOS) or the Command Prompt (Windows) and type the following +`git clone https://github.com/simplePCBuilding/BiogasControllerApp.git` +2. This will clone the repository into your home folder (GNU/Linux), Users folder (MacOS and Windows) + +## Launching the app +1. On MacOS and Linux use the following command to head into the folder you just cloned the repository into: +`cd ./BiogasControllerApp`, press tab, then type `BiogasControllerApp` and press tab again. Finally, press enter. +On Windows open your Explorer, navigate into the users folder (it is located on your C drive) and click on the bar where you can find the path. Type in „cmd“ +2. You may start the app by typing `python3 biogascontrollerapp.py`