Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / test / setup.sh @ b8985188

History | View | Annotate | Download (603 Bytes)

1
#!/bin/bash
2

    
3
d=`dirname $0`
4
export SYNNEFO_SETTINGS_DIR=$d/settings
5
snf-manage syncdb --noinput
6
snf-manage migrate
7

    
8
HOST=127.0.0.1:8000
9

    
10
snf-manage component-add astakos --base-url $HOST/astakos
11
snf-manage component-add cyclades --base-url $HOST/cyclades
12
snf-manage component-add pithos --base-url $HOST/pithos
13

    
14
snf-service-export astakos $HOST/astakos | snf-manage service-import --json -
15
snf-service-export cyclades $HOST/cyclades | snf-manage service-import --json -
16
snf-service-export pithos $HOST/pithos | snf-manage service-import --json -
17
snf-manage resource-modify astakos.pending_app --limit 2