diff options
author | Aleš Smodiš <aless@guru.si> | 2015-09-14 14:49:54 +0200 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-09-14 14:49:54 +0200 |
commit | afdb3c0b28715b3d9a0982e4e0504a0cbcf11e70 (patch) | |
tree | d052125c6fc4fb4803b10dd20d3c24fc3a2711f9 /readme.md | |
parent | d82013c214021d6e5480d18105760fa70cfc708b (diff) |
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.
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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. ===== |