installation.rst 893 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Installation
------------
The stable version can be installed in three ways.

Through PIP
***********

.. code:: bash

   pip install --user senpy

   
Alternatively, you can use the development version:
 
.. code:: bash

   git clone git@github.com:gsi-upm/senpy
   cd senpy
   pip install --user .

If you want to install senpy globally, use sudo instead of the ``--user`` flag.

Docker Image
************
25
26
27
28
29
30
31
32
33
34
35
36
Build the image or use the pre-built one:   

    ``docker run -ti -p 5000:5000 gsiupm/senpy --host 0.0.0.0 --default-plugins``

To add custom plugins, add a volume and tell senpy where to find the plugins: 
    
    ``docker run -ti -p 5000:5000 -v <PATH OF PLUGINS>:/plugins gsiupm/senpy --host 0.0.0.0 --default-plugins -f /plugins``


Note: There is a Senpy version for python2 too.
    
    ``docker run -ti -p 5000:5000 gsiupm/senpy-python2.7 --host 0.0.0.0 --default-plugins``
37