https://github.com/lm/httpd
Http server for GNU Smalltalk
https://github.com/lm/httpd
Last synced: 2 months ago
JSON representation
Http server for GNU Smalltalk
- Host: GitHub
- URL: https://github.com/lm/httpd
- Owner: lm
- License: other
- Created: 2012-01-07T17:03:09.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-02-26T15:37:46.000Z (about 13 years ago)
- Last Synced: 2025-01-23T04:10:03.355Z (4 months ago)
- Language: Smalltalk
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- License: license.txt
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.