# neigbouring-rights-migration
Script used to migrate KNR data

## requirements
python3.9

## build
```
pip3.9 install -r requirements.txt
```

## running locally to migrate delivery history

copy .env.shadow to .env and fill in your vars.
From the command line run:
```
CMM_ID=<id> python3.9 importer.py
```
When you have finished, be a good citizen and clean up after yourself.

## running locally to migrate queue items
copy .env.shadow to .env and fill in your vars
From the command line run:
```
CMM_ID=<id> QUEUE=True python3.9 importer.py
```

## Running Tests
```
pip3.9 install -r requirements-dev.txt
```

```
pytest
```