Commit 70ca74b0 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Added instructions for developers

parent c9e6d781
......@@ -23,7 +23,6 @@ Through PIP
.. code:: bash
make version
pip install -U --user senpy
......@@ -43,6 +42,53 @@ Build the image or use the pre-built one: ``docker run -ti -p 5000:5000 gsiupm/s
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 --default-plugins -f /plugins``
This command will run the senpy container using the latest image available, mounting your current folder so you get your latest code:
.. code:: bash
# Python 3.5
make dev
# Python 2.7
make dev-2.7
Building a docker image
.. code:: bash
# Python 3.5
make build-3.5
# Python 2.7
make build-2.7
.. code:: bash
make test
This command will run the senpy server listening on localhost:5000
.. code:: bash
# Python 3.5
make run-3.5
# Python 2.7
make run-2.7
......@@ -50,12 +96,14 @@ However, the easiest and recommended way is to just use the command-line tool to
.. code:: bash
or, alternatively:
.. code:: bash
python -m senpy
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment