zhibo/Log/2-项目功能与部署指南.md

23 lines
530 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

部署配置修改记录
服务器IP: 1.15.149.240
Android App 修改
文件: android-app/local.properties
api.base_url_device=http://192.168.1.164:8081/ → http://1.15.149.240:8081/
前端配置
文件: Zhibo/admin/.env.production
VUE_APP_BASE_API = '' (保持空由Nginx代理)
编译命令
# Android
cd android-app && gradlew assembleRelease
# 前端
cd Zhibo/admin && npm run build:prod
生成文件位置
APK: android-app/app/build/outputs/apk/release/
前端: Zhibo/admin/dist/
将前端访问的服务改成8083