> For the complete documentation index, see [llms.txt](https://piramal-swasthya.gitbook.io/amrit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piramal-swasthya.gitbook.io/amrit/developer-guide/development-environment-setup/installation-instructions/for-ui-repositories.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://piramal-swasthya.gitbook.io/amrit/developer-guide/development-environment-setup/installation-instructions/for-ui-repositories.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
