# Manual run of the delivery SFN for OSR

Create virtual environment
```
$ python -m venv env
$ source env/bin/activate
```

Install Packages
```
(env) $ pip install -r requirements.txt
```

This will execute the sr-delivery SFN for specific OSRs

Run example:
```
python redelivery.py example.csv prod
```

**$ARGV[1]** => input filename that contains SOUND_RECORDING_ID, SOUND_RECORDING_VERSION_ID, STEP_FUNCTION_EXECUTION_ID, EXECUTION_TYPE

**$ARGV[2]** => ENV to run against

**$ARGV[3]** => Specific SOUND_RECORDING_VERSION_ID so that the script skips previous csv lines and only runs after the specified one.
