# Get Started With Property Tax

## Local Setup

To setup the property service in your local system, clone the git repo - <https://github.com/egovernments/municipal-services>.

## Service Dependencies

* user
* ID-GEN
* pt-calculator
* MDMS
* Location
* localisation

#### Infra Dependency

* [x] &#x20;Postgres DB
* [ ] &#x20;Redis
* [ ] &#x20;Elasticsearch
* [x] &#x20;Kafka
  * [x] &#x20;Consumer
  * [x] &#x20;Producer

### Run Locally

To run the service locally, port forward the following services.

```
function kgpt(){kubectl get pods -n egov --selector=app=$1 --no-headers=true | head -n1 | awk '{print $1}'}

kubectl port-forward -n egov $(kgpt egov-user) 8085:8080
kubectl port-forward -n egov $(kgpt egov-idgen) 8086:8080
kubectl port-forward -n egov $(kgpt egov-mdms-service) 8087:8080
kubectl port-forward -n egov $(kgpt egov-workflow) 8088:8080
kubectl port-forward -n egov $(kgpt egov-localization) 8089:8080
kubectl port-forward -n egov $(kgpt egov-location) 8090:8080
```

Update the properties listed below in `application.properties` before running the project:

```
user.service.hostname = http://127.0.0.1:8085
egov.idgen.hostname = http://127.0.0.1:8086

# can use non port forwarded environment host as well
egov.mdms.host = http://127.0.0.1:8087
egov.workflow.host = http://127.0.0.1:8088

# can use non port forwarded environment host as well
egov.localization.host = http://127.0.0.1:8089
egov.location.host = http://127.0.0.1:8090
```


---

# 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://docs.digit.org/local-governance/access/local-governance-stack/property-tax/get-started-with-property-tax.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.
