gitwmike/MetaGPT-SoftwareCompany
0
1#!/usr/bin/bash2set -ex3 4while [[ $# -gt 0 ]]; do5 key="$1"6 case $key in7 --update-config-template)8 UPDATE_CONFIG_TEMPLATE=true9 shift10 ;;11 *)12 # unknown option13 shift14 ;;15 esac16done17 18rm -rf static19 20wget -O dist.tar.gz https://public-frontend-1300249583.cos.ap-nanjing.myqcloud.com/test-hp-metagpt-web/dist-20240417204906.tar.gz21tar xvzf dist.tar.gz22mv dist static23rm dist.tar.gz24 25if [ "$UPDATE_CONFIG_TEMPLATE" = true ]; then26 rm static/config.yaml27 ln -s ../config/template.yaml static/config.yaml28fi29 