# DocServerLite

DocServerLite allows you to provide access to your documentation via a web server.

The lite edition of this tool uses the document archive created using the DocExtract tool (see ZBDocuments)[ZBDocuments] instead of using a direct connection to the database. This allows to operate the document server standalone without any connection to the ZeeBORN system or ZeeBORN database.

# Components of the DocServer lite

For the operation of the document server you need three files:

  1. DocServiceLite.exe - the Windows service that acts as a web server and gives access to the documentation via a web interface.
  2. DocService.cfg - the configuration file
  3. ZBDocuments.docarchive - the document archive created by the DocExtract tool.

# Installation

  1. Copy the files contained in the installation archive to a folder on the hard disk. After extracting the archive the folder must contain the 3 files mentioned above.
  2. Open file DocService.cfg in Notepad and set the value for httpport to a suitable port. Default is 8085 but this could also be set to 80 if the DocService will be the only web server on the machine. If you want to use the service on a public accessible web server, it's highly recommended to put the DocService behind a reverse proxy.
  3. Open the selected folder in the Command Prompt or Windows Terminal as Administrator.
  4. Install the service with command

    .\DocServiceLite.exe -install
  5. Start the service with

    net start ZBDocServer

# Testing the Installation

After the installation of the DocService you can test the function of the service by opening a web browser and navigating to http://localhost:8085 (or the port defined in DocService.cfg).

# Deinstallation

The service can be uninstalled from an administrative command prompt with the following commands.

net stop ZBDocServer
.\DocServiceLite -uninstall

After deactivating the service, the folder containing the files can be deleted.