mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
Added Dockerfile and instructions
This commit is contained in:
parent
724eac38d8
commit
60415f8217
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
from python:2.7-onbuild
|
||||
|
||||
ENTRYPOINT ["python", "-m", "senpy"]
|
14
README.rst
14
README.rst
@ -36,7 +36,20 @@ To install it system-wide, use setuptools:
|
||||
.. code:: bash
|
||||
|
||||
python setup.py install
|
||||
|
||||
|
||||
If you are using docker, build the image or use the pre-built one:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
docker run -ti -p 5000:5000 balkian/senpy --host 0.0.0.0 --default-plugins
|
||||
|
||||
To add custom plugins, add a volume and tell senpy where to find the plugins:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
docker run -ti -p 5000:5000 -v <PATH OF PLUGINS:/plugins balkian/senpy --host 0.0.0.0 --default-plugins -f /plugins
|
||||
|
||||
Using
|
||||
-----
|
||||
|
||||
@ -57,6 +70,7 @@ or, alternatively:
|
||||
This will create a server with any modules found in the current path.
|
||||
For more options, see the `--help` page.
|
||||
|
||||
|
||||
TO-DO
|
||||
-----
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user