Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lm/httpd

Http server for GNU Smalltalk
https://github.com/lm/httpd

Last synced: about 1 month ago
JSON representation

Http server for GNU Smalltalk

Awesome Lists containing this project

README

        

HTTP server for GNU Smalltalk

Installation:

1) You can build GNU Smalltalk STAR package from GIT repository
by running included `package` script or download it from
https://github.com/lm/httpd/downloads.

2) To run server you just do something like this:

PackageLoader fileInPackage: #Http.
responder := Http.Responding.DirectoryIndexResponder rootDirectory: '/var/www' asFile.
server := Http.Server responder: responder port: 8080.
server serve.
Processor activeProcess suspend.

This will start serving index of /var/www directory on port 8080.