From 1ecb6e552b47af2186aae01a3b71da9b0a70a310 Mon Sep 17 00:00:00 2001 From: asonix Date: Wed, 10 Jun 2020 09:07:14 -0500 Subject: [PATCH] Add folder for client examples --- .gitignore | 2 +- index.html => client-examples/html/index.html | 0 {js_client => client-examples/javascript}/client.js | 0 .../javascript}/package.json | 0 {js_client => client-examples/javascript}/yarn.lock | 0 client.py => client-examples/python/client.py | 2 +- test.png => client-examples/test.png | Bin 7 files changed, 2 insertions(+), 2 deletions(-) rename index.html => client-examples/html/index.html (100%) rename {js_client => client-examples/javascript}/client.js (100%) rename {js_client => client-examples/javascript}/package.json (100%) rename {js_client => client-examples/javascript}/yarn.lock (100%) rename client.py => client-examples/python/client.py (97%) rename test.png => client-examples/test.png (100%) diff --git a/.gitignore b/.gitignore index 2bb12c3..82d1dc9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /target /data /docker/dev/volumes -/js_client/node_modules +/client-examples/javascript/node_modules diff --git a/index.html b/client-examples/html/index.html similarity index 100% rename from index.html rename to client-examples/html/index.html diff --git a/js_client/client.js b/client-examples/javascript/client.js similarity index 100% rename from js_client/client.js rename to client-examples/javascript/client.js diff --git a/js_client/package.json b/client-examples/javascript/package.json similarity index 100% rename from js_client/package.json rename to client-examples/javascript/package.json diff --git a/js_client/yarn.lock b/client-examples/javascript/yarn.lock similarity index 100% rename from js_client/yarn.lock rename to client-examples/javascript/yarn.lock diff --git a/client.py b/client-examples/python/client.py similarity index 97% rename from client.py rename to client-examples/python/client.py index 905938d..7e3cf08 100755 --- a/client.py +++ b/client-examples/python/client.py @@ -7,7 +7,7 @@ import asyncio import aiofiles import aiohttp -file_name = 'test.png' +file_name = '../test.png' url = 'http://localhost:8080/image' async def file_sender(file_name=None): diff --git a/test.png b/client-examples/test.png similarity index 100% rename from test.png rename to client-examples/test.png