/gopher-server

A Gopher server in Scala. Can publish a local directory.

Primary LanguageScala

Description

A Gopher server built in Scala.

The aim is a simple server which serves a directory on the filesystem.

How to run

You need Java 7 and sbt (scala build tool) installed. Then you should be able to run the server by running:

./run-server /path/to/my/doc/root

The path to your docs root has to be absolute.

Logging

Log level can be configured with the system property:

org.slf4j.simpleLogger.defaultLogLevel

Must be one of ("trace", "debug", "info", "warn", or "error"). If not specified, defaults to "info".

The logger will also look for a file simplelogger.properties in the classloader path, and search it for applicable properties.