summaryrefslogtreecommitdiffstats
path: root/download_data_local.sh
blob: 2711cca3f752bc3b11384509ebf2ef41927563d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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-*