-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_local.sh
executable file
·13 lines (12 loc) · 762 Bytes
/
run_local.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
export WM_DASK_SCHEDULER="" # spawn local cluster eg. tcp://localhost:8786. Local dask cluster can be set up by running `dask scheduler` in a terminal and `dask worker tcp://127.0.0.1:8786` in a second terminal
export WM_LOCAL=true # run flow locally
export WM_S3_DEST_URL=http://10.65.18.73:9000 # dev s3 cluster
export WM_S3_DEST_KEY="foobar"
export WM_S3_DEST_SECRET="foobarbaz"
export WM_DEST_TYPE=file # set to 's3' to write to WM_S3_DEST_URL
export WM_DEBUG_TILE=false # save tile to string format for debugging if true
export WM_S3_DEFAULT_INDICATOR_BUCKET=test-indicators
export WM_S3_DEFAULT_MODEL_BUCKET=test-models
export WM_DATA_PIPELINE_IMAGE=docker.uncharted.software/worldmodeler/wm-data-pipeline:latest
python3 run_flow_local.py $1