Commit 4ced6ca6 authored by kewei.jia's avatar kewei.jia

下载pip

parent 9d492dc8
......@@ -26,8 +26,11 @@ echo "trusted-host=mirrors.aliyun.com" >> ~/.pip/pip.conf
echo "pip intall requirements"
pip install -r ${package_path}/requirements.txt
echo "sed port from 8999 to 80"
find ${package_path}/ -type f -name "*.py" | xargs sed -i "s#8999#80#g"
echo "start python"
python ./startup.py --port=80 &
python ./startup.py
tail -f ~/.bashrc
#if [[ $DEBUG == 1 ]]; then
# echo 'debug'
......
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