craftbeerpi4-pione/docs_src/source/install.rst

90 lines
1.6 KiB
ReStructuredText
Raw Permalink Normal View History

2019-01-05 23:25:19 +01:00
============
2018-11-18 15:40:10 +01:00
Installation
============
2019-01-05 23:25:19 +01:00
Please make sure that Python 3.5 is installed.
`Rapsbian Stretch <https://www.raspberrypi.org/downloads/raspbian//>`_ is required at least.
It will also run on MacOS
Download and Installation
=========================
2019-01-08 20:40:03 +01:00
Raspberry PI
^^^^^^^^^^^^
::
$ sudo pip install cbpi
Further version can be found on PiPy: https://pypi.org/project/cbpi/
.. note::
All dependencies will be installed automatically.
To uninstall just remove the package via pip.
::
$ sudo pip uninstall cbpi
MacOS
2019-01-08 23:31:39 +01:00
^^^^^^
2019-01-08 20:40:03 +01:00
Make sure to have Python 3 installed. For example via Homebrew. !!!Attention pip3 not just pip!!!
2018-11-18 15:40:10 +01:00
::
2019-01-08 20:40:03 +01:00
$ sudo pip3 install cbpi
2019-01-05 23:25:19 +01:00
2019-01-08 20:40:03 +01:00
Further version can be found on PiPy: https://pypi.org/project/cbpi/
2019-01-05 23:25:19 +01:00
.. note::
2019-01-08 20:40:03 +01:00
All dependencies will be installed automatically.
2019-01-05 23:25:19 +01:00
To uninstall just remove the package via pip.
::
$ sudo pip uninstall cbpi
2019-01-08 20:40:03 +01:00
2019-01-05 23:25:19 +01:00
Run the Server
==============
2019-01-08 20:40:03 +01:00
The installation will add the command "cbpi" to your shell. To start CraftBeerPi just run the following command in your shell
2019-01-05 23:25:19 +01:00
::
$ cbpi
During the first startup a `config` and `logs` folder gets created in the directory from where the `$ cbpi` in called
PIP Website: https://test.pypi.org/project/cbpi/
Update CraftBeerPi
==================
2019-01-08 20:40:03 +01:00
That's super easy. Just run again with upgrade option.
2019-01-05 23:25:19 +01:00
::
2019-01-08 20:40:03 +01:00
2019-01-05 23:25:19 +01:00
$ sudo pip install -i https://test.pypi.org/simple/ cbpi --upgrade
Install plugins
===============
Plugins are normal Python Pip packages.
Install
::
$ sudo pip install -i https://test.pypi.org/simple/ CBPiActor1
Uninstall
::
2018-11-18 15:40:10 +01:00
2019-01-05 23:25:19 +01:00
$ pip uninstall CBPiActor1
2018-11-18 15:40:10 +01:00