Skip to content
Snippets Groups Projects
Commit 38cd8b5d authored by longllu's avatar longllu
Browse files

WebUI:

- script for starting the WebUI in developing mode
parent 293623a5
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!40WebUI:
......@@ -14,19 +14,23 @@
# for development purposes only
K8S_NAMESPACE=${K8S_NAMESPACE:-'tf-dev'}
# K8S_NAMESPACE=${K8S_NAMESPACE:-'tf-dev'}
export CONTEXTSERVICE_SERVICE_HOST=`kubectl get service/contextservice -n ${K8S_NAMESPACE} -o jsonpath='{.spec.clusterIP}'`
# export CONTEXTSERVICE_SERVICE_HOST=`kubectl get service/contextservice -n ${K8S_NAMESPACE} -o jsonpath='{.spec.clusterIP}'`
echo Context IP: $CONTEXTSERVICE_SERVICE_HOST
# echo Context IP: $CONTEXTSERVICE_SERVICE_HOST
export DEVICESERVICE_SERVICE_HOST=`kubectl get service/deviceservice -n ${K8S_NAMESPACE} -o jsonpath='{.spec.clusterIP}'`
# export DEVICESERVICE_SERVICE_HOST=`kubectl get service/deviceservice -n ${K8S_NAMESPACE} -o jsonpath='{.spec.clusterIP}'`
echo Device IP: $DEVICESERVICE_SERVICE_HOST
# echo Device IP: $DEVICESERVICE_SERVICE_HOST
source tfs_runtime_env_vars.sh
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION='python'
export HOST="127.0.0.1"
export HOSTNAME="test"
export FLASK_ENV="development"
export LOG_LEVEL="DEBUG"
# python3 -m webbrowser http://${HOST}:8004
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment