summaryrefslogtreecommitdiffstats
path: root/upload_data_local.sh
diff options
context:
space:
mode:
Diffstat (limited to 'upload_data_local.sh')
-rwxr-xr-xupload_data_local.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/upload_data_local.sh b/upload_data_local.sh
new file mode 100755
index 0000000..95b1fd5
--- /dev/null
+++ b/upload_data_local.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+export DJANGO_SETTINGS_MODULE='settings'
+
+appcfg.py upload_data \
+ --config_file=load_export.py \
+ --filename=./local_data_symbols.csv \
+ --kind=Symbol \
+ --url=http://localhost:8000/remote_api \
+ .
+
+appcfg.py upload_data \
+ --config_file=load_export.py \
+ --filename=./local_data_variables.csv \
+ --kind=Variable \
+ --url=http://localhost:8000/remote_api \
+ .
+
+appcfg.py upload_data \
+ --config_file=load_export.py \
+ --filename=./local_data_equations.csv \
+ --kind=Equation \
+ --url=http://localhost:8000/remote_api \
+ .
+
+rm bulkloader-*