2021-01-26 07:56:52 +01:00
|
|
|
# CraftBeerPi
|
2018-11-16 21:46:57 +01:00
|
|
|
|
2021-01-26 07:56:52 +01:00
|
|
|
## Intro
|
|
|
|
|
|
|
|
CraftBeerPi is an open source brewing controller.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2021-01-26 13:59:39 +01:00
|
|
|
CraftBeerPi is python based and will require at last python 3.7.x
|
2021-01-26 14:00:19 +01:00
|
|
|
You can run CBPi 4.x on your Laptop. It's not required to use a Raspberry Pi.
|
2021-01-26 13:59:39 +01:00
|
|
|
|
|
|
|
Download an install Python 3.7 [https://www.python.org/downloads/](https://www.python.org/downloads/)
|
|
|
|
|
|
|
|
Open a terminal window and run the following commands.
|
2021-01-26 07:56:52 +01:00
|
|
|
|
|
|
|
```text
|
|
|
|
sudo python3 -m pip install cbpi
|
|
|
|
```
|
|
|
|
|
|
|
|
```text
|
|
|
|
cbpi setup
|
|
|
|
```
|
|
|
|
|
|
|
|
```text
|
|
|
|
cbpi start
|
|
|
|
```
|
|
|
|
|
2021-01-26 13:59:39 +01:00
|
|
|
The server is running under http://localhost:8000 by default.
|
|
|
|
|
2021-01-26 20:55:55 +01:00
|
|
|
### Installation from GitHub
|
|
|
|
|
|
|
|
You can install the latest master 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
|
|
|
|
```
|
|
|
|
|
2021-01-26 07:56:52 +01:00
|
|
|
## Links
|
|
|
|
|
|
|
|
{% embed url="https://www.facebook.com/groups/craftbeerpi" %}
|
|
|
|
|
|
|
|
{% embed url="https://www.youtube.com/channel/UCy47sYaG8YLwJWw2iY5\_aNg" %}
|
|
|
|
|
|
|
|
{% embed url="http://web.craftbeerpi.com" %}
|
2018-11-16 21:46:57 +01:00
|
|
|
|