# Installing DVM (managed feeds)

### Prerequisites:

* Some `tPLS` for paying gas fees. If you need `tPLS,` you can obtain some via the [PulseChain Faucet](https://faucet.v4.testnet.pulsechain.com/).
* A Linux distribution or macOS on your machine, as they are both Unix-based (Ubuntu 22.04 / 24.04 has been tested). **Windows is not currently supported.**
* Running Telliot and a DVM is fairly lightweight and does not require significant computing power. A dual core machine with 16GB RAM should be enough to get started. It's also highly recommended to run this software on a fresh cloud server instance from AWS, Digital Ocean, or other providers.

### Install Script

To install Fetch Reporter (Telliot) and the Disputable Values Monitor (DVM) on your computer simply run the following script and follow the on-screen instructions:

{% code overflow="wrap" %}

```
curl https://install.fetchoracle.com/install.sh | bash && source ~/fetchoracle/disputable-values-monitor/venv/bin/activate && source ~/.nvm/nvm.sh
```

{% endcode %}

Once the installation script is complete, you can simply navigate to the `disputable-values-monitor` directory installed on your machine:&#x20;

```bash
cd ~/fetchoracle/disputable-values-monitor/
```

{% hint style="info" %}
For details on all available ENV config available in DVM, please review the [Appendix](https://docs.fetchoracle.com/optional-configs/dvm-env-config).
{% endhint %}

### Usage <a href="#usage" id="usage"></a>

To start the DVM in dispute mode, run the following command:

```
cli -d -a myacct1
```

### Alerts <a href="#usage" id="usage"></a>

{% hint style="warning" %}
By default, alerts are disabled.
{% endhint %}

To enable SMS, Slack, and email alerts, please review the [Appendix](https://docs.fetchoracle.com/optional-configs/dvm-env-config).  Simply update your `.env` file with the desired config and (re)start the DVM.

### Alerts Only

To send alerts only (after updating the .env with correct credentials), start the DVM running:

```bash
cli
```

The console will ask if you want to run alerts only. Type "y" and press enter.

{% hint style="warning" %}
The DVM will then monitor the queries you set in the `disputer-config` file and will **NOT** dispute them if they meet their thresholds. It will **only send alerts** according to your specification.
{% endhint %}

The console screen doesn't change until there's a new report submitted. After that, some calculations may appear and a table with detailed info on the report will take place.

### Upgrade Script

Run the following to upgrade local installation of the DVM:

```bash
source ~/fetchoracle/disputable-values-monitor/venv/bin/activate
cd ~/fetchoracle/disputable-values-monitor
git pull
pip install --upgrade pip
pip install -e .
git submodule update --recursive
pip install -r requirements.txt
cd ~
```
