Commit 371f4fbe authored by kewei.jia's avatar kewei.jia

下载pip

parent dd3574f0
...@@ -27,10 +27,10 @@ echo "trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf ...@@ -27,10 +27,10 @@ echo "trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf
echo "pip intall requirements" echo "pip intall requirements"
pip install -r ${package_path}/requirements.txt pip install -r ${package_path}/requirements.txt
find ${package_path}/ -type f -name "*.py" | xargs sed -i "s#http://opapi.xyqb.com#${NAMESPACE}.liangkebang.net#g"
echo "sed port from 8999 to 80" echo "sed port from 8999 to 80"
find ${package_path}/ -type f -name "*.py" | xargs sed -i "s#8999#80#g" find ${package_path}/ -type f -name "*.py" | xargs sed -i "s#8999#80#g"
find ${package_path}/ -type f -name "*.py" | xargs sed -i "s#http://opapi.xyqb.com#${NAMESPACE}.liangkebang.net#g"
echo "start python" echo "start python"
python ./startup.py python ./startup.py
tail -f ~/.bashrc tail -f ~/.bashrc
......
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