# For UI repositories

**Steps to Clone and Set Up the UI Repository**

1. **Clone the Repository:**
   * Clone the UI repo from the GitHub fork branch to your local system using the command:

     ```bash
     git clone <repository-url>
     ```
2. **Open the Project:**
   * Open the project in Visual Studio Code/your preferred IDE.
3. **Install Node Modules:**
   * Navigate to your project folder and install the necessary Node.js modules using:

     ```bash
     npm install
     ```
4. **Copy Environment Configuration:**
   * Copy the environment configuration file:

     ```bash
     cp src/environments/environment.local.ts src/environments/environment.ts
     ```
   * Edit the endpoints, ports, and IPs in `environment.ts` as per your local running services.
5. **Run the Project:**
   * Once the Node modules are installed successfully, run the project using:

     ```bash
     npm start
     ```

Access your application through your browser using `http://localhost:{PORT}`, where PORT is defined in the [AMRIT documentation](https://github.com/PSMRI/AMRIT/blob/main/README.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://piramal-swasthya.gitbook.io/amrit/developer-guide/development-environment-setup/installation-instructions/for-ui-repositories.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.
