SummaryWelcome to PillowCase, a free(as in freedom) minimalistic HTTP server.
How to Start?
Loading the libraryFirst of all, add the following line after the module/3 declaration in a prolog file, or write as the first thing you do when running ciaosh:
If pillowcase is in the default directory you may need to add the library predicate:
Starting the ServerFirst of all, Ensure that /var/www/html directories exists and add a beutiful /var/www/html/index.html HTML file like this one:
<html> <head> <title> Hello PillowCase World! </title> </head> <body> <h1> Hi! </h1> <p> Welcome to the <b>Prolog</b> World! :) </p> <br /> <p> <i>Have fun!</i> </p> </body> </html>
Well, maybe a bit more beautiful... :P
?- use_module('/home/cng/Documentos/proyectos/PillowCase/PillowCase/src/pillowcase.pl'). yes ?- dance_pillowcase.
Configuring?If you need to configure the server, in the library pc_config you will have a knowledge base of basic information that PillowCase needs. Don't be terrified for the word 'knowledge base'! Is just a colletion of predicates! :P
Take a look at that library, is very intuitive(remember: this is a minimalistic HTTP server!).
Want to Collaborate?This is Free Software!
Anyone willing to help can collaborate with the project. They have to know Prolog, test the project, etc.
Come to PillowCase project home page to see news, download the code, etc.
Happy Coding! :)