Revision b8985188

b/snf-astakos-app/astakos/test/launch.sh
4 4
export SYNNEFO_SETTINGS_DIR=$d/settings
5 5

  
6 6
HOST=127.0.0.1
7
P=8008
7
P=8000
8 8

  
9 9
pkill -f "runserver"
10 10

  
......
18 18
    else sleep 0.1
19 19
    fi
20 20
done
21

  
22
snf-manage astakos-init --load-service-resources
b/snf-astakos-app/astakos/test/settings/local.conf
18 18

  
19 19
HOST   = 'http://127.0.0.1'
20 20

  
21
# FIXME: ASTAKOS_URL = HOST + ':8000/astakos/api/authenticate'
22
ASTAKOS_BASE_URL = HOST + ':8000/'
21
ASTAKOS_BASE_URL = HOST + ':8000/astakos'
23 22
ASTAKOS_IM_MODULES = ['local']
24 23
ASTAKOS_RECAPTCHA_ENABLED = False
b/snf-astakos-app/astakos/test/setup.sh
4 4
export SYNNEFO_SETTINGS_DIR=$d/settings
5 5
snf-manage syncdb --noinput
6 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

Also available in: Unified diff