# Build Helper

## Set up a virtual Python environment
For dev environment
```sh
$ git clone git@github.com:theorchard/collab.git .
$ cd adovgobrod/scripts/build_helper
$ pyvenv ./env
$ source ./env/bin/activate
$ pip install -r reqs.pip
$ python setup.py develop
```
## ENV variables
Please, check variables in .env.shadow file and if it's not dev - add this variable in your terminal session
## .env.shadow
.env.shadow is a template environment variable script that exports keys and values necessary for successful connectivity, paths, etc.  You will need to copy this file to `.env` and populate the necessary keys.

```sh
$ cp .env.shadow .env
```
## Run Commands

```sh
$ source ./env/bin/activate
$ python build_helper/bin/executor.py accounting.dynamodb_clean -p "{\"ids\":[{\"user_id_type\":\"10303L\", \"user_params\":\"217__all__en_US__xls\"}]}"
```
