diff options
Diffstat (limited to 'download_data_local.sh')
-rwxr-xr-x | download_data_local.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/download_data_local.sh b/download_data_local.sh new file mode 100755 index 0000000..2711cca --- /dev/null +++ b/download_data_local.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +export DJANGO_SETTINGS_MODULE='settings' + +appcfg.py download_data \ + --config_file=load_export.py \ + --filename=./local_data_symbols.csv \ + --kind=Symbol \ + --url=http://localhost:8000/remote_api \ + . + +appcfg.py download_data \ + --config_file=load_export.py \ + --filename=./local_data_variables.csv \ + --kind=Variable \ + --url=http://localhost:8000/remote_api \ + . + +appcfg.py download_data \ + --config_file=load_export.py \ + --filename=./local_data_equations.csv \ + --kind=Equation \ + --url=http://localhost:8000/remote_api \ + . + +rm bulkloader-* |