# System Setup and Configuration

## Prerequisites

### Minimum Computer Requirements

1. Windows 7 (both 32-bit and 64-bit versions supported)
2. 4GB of RAM
3. 1.5GHz duo core processor

### Recommended Minimum Software Requirements

1. Java 8 for UgandaEMR 2.0.0 and above (Java 7 for UgandaEMR 1.x - not recommended)
2. Tomcat 7
3. MySQL 5.5
4. Mozilla Firefox 44

## Manual Setup

### Requirements for Manual Installation

This process will be added at a later stage, as currently the automatic installation is the easiest way to get the required configuration

## Interactive Setup via installer

The installer provides all the prerequisite components for setting up UgandaEMR, parts of this guide have been adopted from the World Health Organization (WHO) OpenMRS Express guide.

There are separate installation files for 32-bit and 64-bit Windows systems so pick the most suitable installation package.

### Installation Directories and Menu Items

The installer creates the following directory structure:

1. **Main Directory** - C:\Program Files\UgandaEMR
2. **Tomcat Directory** - C:\Program Files\UgandaEMR\UgandaEMRTomcat
3. **Mysql Directory** - C:\Program Files\MySQL\MySQL Server 5.5 *TODO: Correct this*
4. **OpenMRS Configuration Files** - C:\ApplicationData\OpenMRS *TODO: Correct this*

The following items are also added to the Windows Start Menu:

1. **TODO: Add Start Menu Items**

A shortcut link to the UgandaEMR instance is also added to the Desktop\
**1.** TODO: Add screenshot of desktop with the Shortcut link\*\*

### Installation Overview

![Installation proces overview](/files/eBmtqGN9vVRC3toN1eV6)

### Installation Steps

Follow the steps below for the relevant installation process:

1. [UgandaEMR 1.x Installation Steps](/ugandaemr-documentation/setup_and_configuration/ugandaemr-1x-installation.md)
2. [UgandaEMR 2.x Installation Steps](/ugandaemr-documentation/setup_and_configuration/ugandaemr-2x-installation.md)
3. [Post-installation Configuration](/ugandaemr-documentation/setup_and_configuration/post-installation-configuration.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mets-programme.gitbook.io/ugandaemr-documentation/setup_and_configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
