陪聊直播

warrior e1fd7a7357 update 1 week ago
.vscode c04a29ada7 主播端首页 3 weeks ago
android e1fd7a7357 update 1 week ago
config 25e7ca0108 fix: app.gdchat.cn 1 month ago
projects 46d6212b4c 直播中充值 1 week ago
public 2996161977 created project 2 months ago
resources 2a20bfc534 打包Android 2 weeks ago
src 8732abde97 update 赠送礼物 1 month ago
.editorconfig 2996161977 created project 2 months ago
.gitignore 2b0eef71b8 打包Android 3 weeks ago
README.md 71902449fa ionic build 说明文件 3 weeks ago
angular.json 1974ca57d2 ionic build android 3 weeks ago
build.android.md 7c95f1477d 更新部分说明文件 2 weeks ago
capacitor.config.ts b7b92570fb 打包Android 3 weeks ago
config.xml b7b92570fb 打包Android 3 weeks ago
deploy.dev.ps1 25e7ca0108 fix: app.gdchat.cn 1 month ago
deploy.ps1 f7d38bb89d fix: init vap-player in src/lib 2 weeks ago
heychat.keystore 80b8c7dba6 打包Android 3 weeks ago
ionic.config.json 1974ca57d2 ionic build android 3 weeks ago
package-lock.json 2b0eef71b8 打包Android 3 weeks ago
package.json f7d38bb89d fix: init vap-player in src/lib 2 weeks ago
tsconfig.app.json 2996161977 created project 2 months ago
tsconfig.json f7d38bb89d fix: init vap-player in src/lib 2 weeks ago
tsconfig.spec.json 2996161977 created project 2 months ago

README.md

  • 安装配置

    # 安装
    npm install i
    or
    npm install --force 或略版本兼容问题
    

打包发布

开发环境(可公开AKSK)

# 打包项目,携带应用前缀(index.html中相对路径将自动修复为/dev/crm前缀)
# live-app 子项目名称
# /dev/ 项目测试版上传路径
# /dev/live nova-crm项目预留路径
ng build live-app --base-href=/dev/live/

# 清空旧文件目录
obsutil rm obs://nova-cloud/dev/live -r -f -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com"

# 同步文件目录
obsutil sync ./dist/live-app/browser obs://nova-cloud/dev/live  -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com" -acl=public-read

# 复制默认首页至项目路由(解决路径导航到错误页面问题)
# 例如:https://app.fmode.cn/dev/live/live/test 匹配项目路由 /live/test 需要放置一个默认页面
obsutil cp ./dist/live-app/browser/index.html obs://nova-cloud/dev/live/index.html  -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com" -acl=public-read

# 授权公开可读
obsutil chattri obs://nova-cloud/dev/live -r -f -i=XSUWJSVMZNHLWFAINRZ1 -k=P4TyfwfDovVNqz08tI1IXoLWXyEOSTKJRVlsGcV6 -e="obs.cn-south-1.myhuaweicloud.com" -acl=public-read

超级权限(内部机密AKSK)

hcloud CDN CreateRefreshTasks/v2 --cli-region="cn-north-1" --refresh_task.urls.1="https://app.fmode.cn/dev/live/" --refresh_task.type="directory" --cli-access-key=2BFF7JWXAIJ0UGNJ0OSB --cli-secret-key=NaPCiJCGmD3nklCzX65s8mSK1Py13ueyhgepa0s1