DocServerLite allows you to provide access to your documentation via a web server.

!!!WARNING Experimental Feature
!!!

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.
1. 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. 
1. Open the selected folder in the `Command Prompt` or `Windows Terminal` as `Administrator`.
1. Install the service with command
   ```
   .\DocServiceLite.exe -install
   ```
1. 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.

*[PO]: Purchase Order  
*[AZA]: local folder
*[(PO]: Purchase Order  
*[RQ]: Requisition  
*[(RQ]: Requisition  
*[RfQ]: Request for Quotation  
*[(RfQ]: Request for Quotation  
*[SO]: Service Order  
*[(SO]: Service Order  
*[SQ]: Service Requisition  
*[(SQ]: Service Requisition  
*[SRfQ]: Service Request for Quotation  
*[OoB]: Open on Board  
*[(OoB]: Open on Board 
*[ART]: Average Running Time (operation hours per day) 
*[MC]: Master Contract
*[ADS]: Advantage Database Server (database engine used in previous versions of the ZeeBORN software)
*[.replic]: file extension for replication files (aka data transfer files)
