Просмотр исходного кода

Rewrite the raspbian jessie install documentation to use PIP or setup.py methods.

Thomas Pierson 8 лет назад
Родитель
Сommit
b667873e29
1 измененных файлов с 29 добавлено и 13 удалено
  1. 29 13
      Docs/installation/raspbian_jessie.md

+ 29 - 13
Docs/installation/raspbian_jessie.md

@@ -1,34 +1,50 @@
 # Kalliope installation on Raspbian
 
-## Automated install
+## Requirements
+
+### Debian packages requirements
+
+Install some required system libraries and softwares:
 
-Clone the project
 ```
-cd
-git clone https://github.com/kalliope-project/kalliope.git
+sudo apt-get update
+sudo apt-get install git python-pip python-dev libsmpeg0 libttspico-utils libsmpeg0 flac dialog libffi-dev libffi-dev libssl-dev portaudio19-dev build-essential libssl-dev libffi-dev sox libatlas3-base mplayer
 ```
 
-Run the install script.
+## Installation
+
+### Method 1 - User install using the PIP package
+
+You can install kalliope on your system:
 ```
-./kalliope/install/install_kalliope.sh
+sudo pip install kalliope
 ```
 
-## Manual install
+Or just in your user home:
+```
+pip install --user kalliope
+```
 
-To make Kalliope work, you will have to install a certain number of libraries:
+Run Kalliope:
 ```
-sudo apt-get update
-sudo apt-get install git python-pip python-dev libsmpeg0 libttspico-utils libsmpeg0 flac dialog libffi-dev libffi-dev libssl-dev portaudio19-dev build-essential libssl-dev libffi-dev sox libatlas3-base mplayer
+kalliope start
 ```
 
-Clone the project
+### Method 2 - Manual user install using the git repository
+
+Clone the project:
 ```
 git clone https://github.com/kalliope-project/kalliope.git
 ```
 
-Install libs
+Install the project:
+```
+sudo python setup.py install
+```
+
+Run Kalliope from a shell:
 ```
-sudo pip install -r install/files/python_requirements.txt
+kalliope start
 ```
 
 # Raspberry Pi configuration