Skip to content
584sentimentPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huashuiai-web

划水 AI 项目 PC 客户端,使用 Next.js 开发。

本地运行

git clone 项目。

把 .env.example 文件复制为 .env 文件,并修改内容。

然后执行以下命令:

npm install
npm run db:push
npm run dev

发布到测试环境

提交 test-deploy 分支到 Github ,会触发 GitHub Action 使用 Docker 部署测试环境

注意,其中 .npmrc 和 .env 文件是在 deploy-test-huawei-cloud.yml 中动态创建的,内容设置在 GitHub Action Secrets 中

PS:可参考本地的 .npmrc 和 .env.test 文件

发布到阿里云 FC

不同的 git 分支对应不同的环境,把代码提交到该分支,会触发阿里云 FC 应用重新部署。

  • 内测环境 preview-test-deploy
  • 预发环境 preview-deploy
  • 线上环境 prod-deploy

注意,其中 .npmrc 和 .env 文件是在 s.yaml 中动态创建的,其内容在阿里云 FC 应用的环境变量中。

相关链接

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages