summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-15 11:07:16 +0200
committerAleš Smodiš <aless@guru.si>2015-09-15 11:07:16 +0200
commitcc3a807157d6d2d2c4830afcec90d6614e486b70 (patch)
tree57077a9c160a50913a13b98b1e0f1e220091ff31 /readme.md
parent64073d4c7efb2f21f66d0fea5083c659a1b0a15e (diff)
Removed WSGI parts. They've been supplanted with the node app and the TCP communication with the node app.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md28
1 files changed, 21 insertions, 7 deletions
diff --git a/readme.md b/readme.md
index d575149..a7e11ca 100644
--- a/readme.md
+++ b/readme.md
@@ -1,15 +1,29 @@
Deployment
==========
+To use the correct SWI prolog package (>= 7.2) on Debian, add a custom
+repository by creating the file /etc/apt/sources.list.d/prolog.list
+containing the following 2 lines:
+
+deb http://ppa.launchpad.net/swi-prolog/stable/ubuntu trusty main
+deb-src http://ppa.launchpad.net/swi-prolog/stable/ubuntu trusty main
+
+After that run the following sequence of shell statements to update
+the package cache, register the new repository's key, and again refresh
+the package cache using the additional key:
+
+apt-get update
+apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EF8406856DBFCA18
+apt-get update
+
Install the following packages:
- apache2
- - python3-falcon
+ - python3 (>= 3.4)
- python3-ply
- python3-psycopg2
- python3-termcolor
- - python3-waitress
- - swi-prolog-nox
+ - swi-prolog-nox (>= 7.2)
- nodejs (>= 10.0.22)
Settings:
@@ -31,10 +45,10 @@ Settings:
Running:
- - run prolog/runner/main.pl
- - run python/runner/main.py
- - run daemon.py
- - start the node process (node web/main.js)
+ - run the prolog interpreter server: swipl prolog/runner/main.pl
+ - run the python interpreter server: python3 python/runner/main.py
+ - run the session daemon: python3 daemon.py
+ - run the web server for client communication: node web/main.js
Misc.
=====