Code Monkey home page Code Monkey logo

www's Introduction

心灵脉冲网站页面

使用 antd-mobile 写的心理测试网站。

1 部署

你可以将前端页面部署到自己的服务器上,不建议修改捐款二维码和小程码,但如果你修改了也请提个 issue 让我知道,这个要求不是强制性的。

我使用的包管理器是pnpm,如果你使用的不是此包管理器,使用自己的包管理器执行下面的命令。

1.1 安装依赖

前端那一套流程,不再多说,直接上命令:

pnpm i
bun install

1.2 打包

打包前一定要修改 api 地址,只需修改.env.production中的VITE_API为你的域名对应的 api 接口即可。

比如你的域名为foo.bar.com,给 api 服务器分配的路径是mind-pulse,则需改为:

VITE_API=https://foo.bar.com/mind-pulse

然后再打包:

pnpm build
bun run build

打包产物在项目根目录的dist目录中,根据自己的实际需求将产物上传。

2 开发

本网站是开源公益网站,但我个人精力有限,没有足够的时间去搜集已有测试或量表外的其他量表相关资料,如果你想提供某个量表的完整题目有可信来源的常模计分规则参考论文或书籍可通过 issue 提供,以上条件缺一不可。

www's People

Contributors

thep0y avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.