summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-14 14:49:54 +0200
committerAleš Smodiš <aless@guru.si>2015-09-14 14:49:54 +0200
commitafdb3c0b28715b3d9a0982e4e0504a0cbcf11e70 (patch)
treed052125c6fc4fb4803b10dd20d3c24fc3a2711f9 /readme.md
parentd82013c214021d6e5480d18105760fa70cfc708b (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.md11
1 files changed, 7 insertions, 4 deletions
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.
=====