Commit 4ec98ef7 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Added README and docker-compose, updated data

parent 8bbd2f7b
FROM gsiupm/senpy:0.8.8
COPY data /
\ No newline at end of file
# Senpy example plugin
This is the **Hello Senpy!** plugin.
In every request, it will replace the text of each entry with the contents of `data/datos.txt`.
## Installation
* Download
git clone
* Get data
cd plugin-example
git submodule update --init --recursive
* Run (docker compose)
docker-compose up
* Run (alternative, manual)
docker build . -t senpy-example
docker run -p 5000:5000 senpy-example
## Data format
`data/datos.txt` is a plain file.
## Development
The docker compose file included mounts the source code in the container.
After changing the code, you only need to restart the service:
docker-compose restart senpy-example
Or stop and run the docker container manually if you are not using compose.
## More information
[Senpy]( is a semantic NLP framework developed at [GSI-UPM](
Subproject commit 9dcdfdd7bd1758f8a0e32dfbb3510fa6f4e5d2b4
Subproject commit 45d810504172e2361277556a1a1f81660920e6d7
version: '2'
build: .
- .:/usr/src/app/
- data:/data
- "5000:5000"
\ No newline at end of file
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