mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-28 17:54:15 +01:00
Merge branch 'master' of https://github.com/Manuel83/craftbeerpi4
This commit is contained in:
commit
1374a3df37
2 changed files with 53 additions and 1 deletions
BIN
.gitbook/assets/bildschirmaufnahme-2021-01-24-um-11.47.30.mov
Normal file
BIN
.gitbook/assets/bildschirmaufnahme-2021-01-24-um-11.47.30.mov
Normal file
Binary file not shown.
54
README.md
54
README.md
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
CraftBeerPi is an open source brewing controller.
|
CraftBeerPi is an open source brewing controller.
|
||||||
|
|
||||||
|
![](.gitbook/assets/bildschirmaufnahme-2021-01-24-um-11.47.30.mov)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
CraftBeerPi is python based and will require at last python 3.7.x
|
CraftBeerPi is python based and will require at last python 3.7.x
|
||||||
|
@ -13,20 +15,70 @@ Download an install Python 3.7 [https://www.python.org/downloads/](https://www.
|
||||||
|
|
||||||
Open a terminal window and run the following commands.
|
Open a terminal window and run the following commands.
|
||||||
|
|
||||||
|
#### Downloas the software via Python pip
|
||||||
|
|
||||||
```text
|
```text
|
||||||
sudo python3 -m pip install cbpi
|
sudo python3 -m pip install cbpi
|
||||||
```
|
```
|
||||||
|
|
||||||
```text
|
#### Setup Environment
|
||||||
|
|
||||||
|
```bash
|
||||||
cbpi setup
|
cbpi setup
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The setup command will create a config folder in directory where you executed this command. The config folder contains all instance data. For example all your hardware configuration and log files.
|
||||||
|
|
||||||
|
{% hint style="info" %}
|
||||||
|
You can setup as many enviroments as you like on one computer / Raspberry pi.
|
||||||
|
Just navigate to a diffent folder and run the setup command again. This will create additional config folder
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
|
#### Run the Server
|
||||||
|
|
||||||
```text
|
```text
|
||||||
cbpi start
|
cbpi start
|
||||||
```
|
```
|
||||||
|
|
||||||
The server is running under http://localhost:8000 by default.
|
The server is running under http://localhost:8000 by default.
|
||||||
|
|
||||||
|
#### Access the User Interface
|
||||||
|
|
||||||
|
```text
|
||||||
|
http://<YOUR_IP>:8000/
|
||||||
|
```
|
||||||
|
|
||||||
|
{% hint style="info" %}
|
||||||
|
Port 8000 is the default port. You can change this port in the config folder config.yaml
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
|
### Installation from GitHub
|
||||||
|
|
||||||
|
You can install the latest development version direclty from GitHub.
|
||||||
|
|
||||||
|
```text
|
||||||
|
pip install https://github.com/Manuel83/craftbeerpi4/archive/master.zip
|
||||||
|
```
|
||||||
|
|
||||||
|
### Create a Python Virtual Environment
|
||||||
|
|
||||||
|
The advantage of a virtual enviroment is to separate the python dependencies.
|
||||||
|
This is interesting for testing and to install several CBPi intances at the same time.
|
||||||
|
|
||||||
|
{% embed url="https://docs.python.org/3/library/venv.html" %}
|
||||||
|
|
||||||
|
```text
|
||||||
|
python3 -m venv venv
|
||||||
|
|
||||||
|
source venv/bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
|
## Uninstall
|
||||||
|
|
||||||
|
```text
|
||||||
|
pip uninstall cbpi
|
||||||
|
```
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
{% embed url="https://www.facebook.com/groups/craftbeerpi" %}
|
{% embed url="https://www.facebook.com/groups/craftbeerpi" %}
|
||||||
|
|
Loading…
Reference in a new issue