Happy !

hernan / KomHttpServer

Project infos

License MIT
Tags web, kom, server, http, comanche
Creation date 2013-05-17
Website

Monticello registration

About KomHttpServer

Description

The Comanche Http Server.

Installation

In Pharo 3 open the Configuration Browser and install from there.

Usage

To get a simple web server running, install this package and evaluate the code below. A simple file serving web server will be started and will serve the files in your default directory:

| ma |
ma := ModuleAssembly core.
ma serverRoot: FileSystem workingDirectory fullName.
ma documentRoot: FileSystem workingDirectory fullName.
ma directoryIndex: ''index.html index.htm''.
ma serveFiles.
(HttpService startOn: 8080 named: ''httpd'') plug: ma rootModule