summaryrefslogtreecommitdiffstats
path: root/ocata/run.sh
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-01-17 06:06:27 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-01-18 01:01:15 +0800
commit9e7c5a6bfd338dd5352d9d6afdae0cea23856acf (patch)
treebffbbdc32f615bb2e8c44441572a942c75ce66b1 /ocata/run.sh
parent79c711a95de34531e62927ea19fe16753513063b (diff)
Add newton base directory
newton base directory is mainly placed openstack public files, we will move mainly from the original newton folder.this patch create newton base framework and move one file to here. Issue-ID: MULTICLOUD-138 Change-Id: Ie901795a5cf3383217c3585eb6602a4baba6dcd8 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'ocata/run.sh')
-rw-r--r--ocata/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocata/run.sh b/ocata/run.sh
index cfb52b74..680290a2 100644
--- a/ocata/run.sh
+++ b/ocata/run.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright (c) 2017-2018 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ sed -i "s/AAI_USERNAME =.*/AAI_USERNAME = \"${AAI_USERNAME}\"/g" lib/newton/newt
sed -i "s/AAI_PASSWORD =.*/AAI_PASSWORD = \"${AAI_PASSWORD}\"/g" lib/newton/newton/pub/config/config.py
memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
-export PYTHONPATH=lib/newton
+export PYTHONPATH=lib/newton:lib/share
nohup python manage.py runserver 0.0.0.0:9006 2>&1 &
while [ ! -f logs/runtime_ocata.log ]; do