Commit 63a6f595 authored by kalvin's avatar kalvin

测试环境启动命令

parent eade5e20
......@@ -64,8 +64,11 @@ echo "rm dist.tgz public/dist -rf"
rm -rf ${package_path}/dist.tgz
source ~/.bash_profile
echo "sh start.sh"
sh start.sh
echo "start cmd from 192.168.4.3"
export PYTHONIOENCODING=utf8
curl -s "http://192.168.4.3:10088/config_server/get_project_attr/${SYSTEM_NAME}" | \
python -c "import sys, json; print json.load(sys.stdin)['startCmd']" | sh
echo "sleep 3"
sleep 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment