# From Source

{% hint style="warning" %}
&#x20;This guide assumes your computer is suited with:\
node >= 12 , python >= 3.7 and pipenv
{% endhint %}

```bash
# Clone the repo
git clone git@github.com:moshe/elasticsearch-comrade.git

# Install server deps
cd elasticsearch-comrade
pipenv install -e . --skip-lock

# Install client deps
cd client
npm install
```

Now you should open two terminals, one for running the server and the second for serving the client

### Starting the server

```bash
pipenv run python index.py  # In the root of the project 
```

### Starting the client

```bash
cd client
npm run serve
```


---

# 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://moshe-1.gitbook.io/comrade/installation/from-source.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.
