# Development Setup

## Local Setup

1. Install [Docker](https://docs.docker.com/engine/installation/) for your OS. Also install Fabric via\
   `pip install fabric`
2. Create .env file with the reference of`.env.example`or receive .env file from your team member.
3. Run`fab up`
4. Go to <http://127.0.0.1:8080/> to see the React frontend running. The Django app is running under

   <http://127.0.0.1:8080/api/>
5. Run `fab fakedata`
   * create mock data like account, partner agencies, etc.
6. Go to <http://127.0.0.1:8080/login> login with <fake-user-72@unicef.org>/Passw0rd! and can now go t

## Fabric commands

For convenience some [fabric](http://www.fabfile.org/) commands are included, such as getting into Django app container

```
fab ssh:backend
```

or running tests

```
fab tests
```

For the most up-to-date reference just check `fabfile.py` in the repository root.


---

# 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://unicef.gitbook.io/unpp/technical-documentation/development-setup.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.
