mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 08:12:27 +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
@ -37,6 +37,19 @@ To install it system-wide, use setuptools:
|
|||||||
|
|
||||||
python setup.py install
|
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
|
Using
|
||||||
-----
|
-----
|
||||||
|
|
||||||
@ -57,6 +70,7 @@ or, alternatively:
|
|||||||
This will create a server with any modules found in the current path.
|
This will create a server with any modules found in the current path.
|
||||||
For more options, see the `--help` page.
|
For more options, see the `--help` page.
|
||||||
|
|
||||||
|
|
||||||
TO-DO
|
TO-DO
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user