> For the complete documentation index, see [llms.txt](https://moshe-1.gitbook.io/comrade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://moshe-1.gitbook.io/comrade/development.md).

# Development

## Tech stack

### Backend

* python 3.7
* [Sanic](https://github.com/huge-success/sanic) - Async Python 3.6+ web server/framework | Build fast. Run fast.
* [uvloop](https://github.com/MagicStack/uvloop) - Ultra fast asyncio event loop.
* [elasticsearch-py-async](https://github.com/elastic/elasticsearch-py-async) - Backend for elasticsearch-py based on python's asyncio module.

### Frontend

* [Vue.js](https://vuejs.org/) - The Progressive JavaScript Framework
* [Vuetify](https://vuetifyjs.com/) - Material Design Component Framework
* [Cypress](https://www.cypress.io/) - Fast, easy and reliable testing for anything that runs in a browser. Install *Cypress* in seconds and take the pain out of front-end testing.

## Setting up

Please follow the [installation guide from source](/comrade/installation/from-source.md)

## Running Tests

### Server tests

```
py.test server
```

### End to end (cypress)

```
cd e2e
npx cypress run
```

## Linters

### flake8

```
cd server
pipenv run flake8 --ignore=E501
```

### eslint

```
cd client
npm run lint
```


---

# 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:

```
GET https://moshe-1.gitbook.io/comrade/development.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.
