Commit 82e2edc2 authored by kewei.jia's avatar kewei.jia

下载pip

parent 0b02d596
...@@ -27,7 +27,9 @@ echo "trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf ...@@ -27,7 +27,9 @@ 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 "*.conf" | xargs sed -i "s#http://opapi.domain.com#opapi-${NAMESPACE}.liangkebang.net#g" echo "sed domain.com to liangkebang.com"
find ${package_path}/ -type f -name "*.conf" | xargs sed -i "s#\.domain\.com#-$NAMESPACE.liangkebang.com#g"
find ${package_path}/ -type f -name "*.conf" | xargs sed -i "s#\.xyqb\.com#-$NAMESPACE.liangkebang.com#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"
......
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