Commit 9eded66e authored by kewei.jia's avatar kewei.jia

增加python

parent b3b91f3d
#!/bin/sh
echo "start run python"
package_path="/home/quant_group"
echo "NAMESPACE is $NAMESPACE"
echo "cd ${package_path}"
cd ${package_path}
echo "echo host"
echo 172.30.3.209 http://opapi.xyqb.com >> /etc/hosts
echo "tar zxf dist.tgz -C ${package_path}"
tar zxf ${package_path}/dist.tgz -C ${package_path}/
echo "rm -rf ${package_path}/dist.tgz"
rm -rf ${package_path}/dist.tgz
echo "start python"
python ./startup.py
if [[ $DEBUG == 1 ]]; then
echo 'debug'
tail -f ~/.bashrc
fi
echo done!!!
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