SWI-Prolog / pengines

Pengine and Prolog scratchpad
BSD 2-Clause "Simplified" License
56 stars 16 forks source link

A Prolog Engine application server

This repository provides a demo application server for the SWI-Prolog pengines package. An online version of this server is available at http://pengines.swi-prolog.org.

The application server currently hosts two applications:

Local installation installation

Running this software typically requires the latest development version of SWI-Prolog. After cloning the pengines repository, the server can be started by loading run.pl into SWI-Prolog. On MS-Windows, this implies opening run.pl in the explorer. On Unix systems, run

swipl run.pl

By default, only Scratchpad is available. See below for adding SWISH.

Installing SWISH locally

First, add the swish submodule by running this command

git submodule update --init

Next, install bower for your platform, go to the directory apps/swish and run

bower install
make src

Finally, restart the pengines server.

Docker

A Docker file is available from https://github.com/ninjarobot/pengines-dockerfile