Commit 600b1990 authored by zL's avatar zL

新增一个套best测试环境

parent bb6fbe13
NODE_ENV = 'production'
VUE_APP_CURRENTMODE = 'best_test'
VUE_APP_VERSION = '0'
\ No newline at end of file
rm -rf best
mv dist best
tar -czf best.tar best
# rm -rf cstest
scp best.tar root@120.26.174.69:/usr/share/nginx/html/best.tar
rm -rf best.tar
ssh root@120.26.174.69 'cd /usr/share/nginx/html && rm -rf best && tar -xzf best.tar && rm -rf best.tar'
echo 'done. 👉 http://120.26.174.69/best/(http://120.26.174.69:8990/)'
\ No newline at end of file
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
"build:sy_prod": "vue-cli-service build --mode sy_prod_build", "build:sy_prod": "vue-cli-service build --mode sy_prod_build",
"build:cs_prod": "vue-cli-service build --mode cs_prod_build", "build:cs_prod": "vue-cli-service build --mode cs_prod_build",
"deploy:sy": "vue-cli-service build --mode sy_test_build && bash ./sy.sh", "deploy:sy": "vue-cli-service build --mode sy_test_build && bash ./sy.sh",
"deploy:cs": "vue-cli-service build --mode cs_test_build && bash ./cs.sh" "deploy:cs": "vue-cli-service build --mode cs_test_build && bash ./cs.sh",
"deploy:best": "vue-cli-service build --mode best_test_build && bash ./best.sh"
}, },
"dependencies": { "dependencies": {
"@types/js-md5": "^0.4.2", "@types/js-md5": "^0.4.2",
......
...@@ -47,7 +47,7 @@ const configModules = { ...@@ -47,7 +47,7 @@ const configModules = {
// 百斯特 // 百斯特
"best_test": { "best_test": {
CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9032/', CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9032/',
INERFACE_URL_PREFIX: 'http://172.16.101.87:46789', INERFACE_URL_PREFIX: 'http://120.26.174.69:9007',
INDEX: { INDEX: {
entry: './src/entry/best/main.ts', entry: './src/entry/best/main.ts',
template: './public/best/index.html', template: './public/best/index.html',
......
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