From afdb3c0b28715b3d9a0982e4e0504a0cbcf11e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Mon, 14 Sep 2015 14:49:54 +0200 Subject: Reimplemented communication with the client side. * Implemented a node web server supporting asynchronous websocket and long-polling communication with clients. * Implemented TCP communication between python middleware and node web server. --- readme.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 6f891f2..a0f8b7e 100644 --- a/readme.md +++ b/readme.md @@ -10,22 +10,25 @@ Install the following packages: - python3-termcolor - python3-waitress - swi-prolog-nox + - nodejs (>= 10.0.22) Settings: - point webroot to codeq-web - - set up reverse proxy for /svc/ to wsgi server: - ProxyPass /svc/ http://localhost:8082/ - ProxyPassReverse /svc/ http://localhost:8082/ + - set up reverse proxy for /ws/ to the node server: + ProxyPass /ws/ http://localhost:8083/ + ProxyPassReverse /ws/ http://localhost:8083/ - set _path_prefix in server.problems - set DB settings in db + - run "npm install" inside the "web" directory to install all dependencies + (they will be installed inside the "web" directory) Running: - run prolog/runner/main.pl - run python/runner/main.py - run daemon.py - - run wsgi_server.py + - start the node process (node web/main.js) Misc. ===== -- cgit v1.2.1