Rest run a Flask or Redis server. Sources are available at: https://github.com/brsynth/rest.
The main code is src/Main.py. Launch the server with:
python3 ./src/Main.py [flask|redis]
The REST functions (`run` and `post`) has to be filled in file app/app.py.
REST service can run in a Docker container. To do so, you have first to build the image to instanciate.
Images can be built with:
docker-compose -f docker/docker-compose.yml build [flask|redis|flask-conda|redis-conda]
NOTE
redis image is based on flask one and redis-conda is based on flask-conda. So if you want to build the first ones, second ones have to be built.
REST service is launched with:
docker-compose -f docker/docker-compose.yml up [flask|redis|flask-conda|redis-conda]
Rest is released under the MIT licence. See the LICENCE.txt file for details.
Content type
Image
Digest
Size
394.8 MB
Last updated
over 6 years ago
docker pull brsynth/rest:flask-conda