# Script to convert regular vendor to distributor(D3)
This script will convert regular vendor to distributor(D3).

### Installation
```
python3 -m venv env
```
```
source env/bin/activate
```
```
pip install -r requirements.txt
```
```
cp .env.shadow .env
```

### Running the script
Execute the script by running the following command providing the vendor_id as given below:
```
python convert_vendor_to_D3.py vendor_id
```

### Steps for execution
1. Rename the .env.shadow to .env
2. Update the art_relations database credentials in .env file
3. Run the script python convert_vendor_to_D3.py vendor_id
