Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何安装和配置Flashcard的自托管环境?

2025-09-10 1.4 K

自托管部署包含四个关键步骤:

  1. Get Code::
    通过git克隆仓库
    git clone https://github.com/stvlynn/flashcard.git
    cd flashcard
  2. Installation of dependencies::
    fulfillmentnpm install安装Node.js依赖包
  3. Configuration Keys::
    在项目根目录创建.env文件,需配置:
    VITE_DIFY_API_KEY=您的Dify平台API密钥
    VITE_DIFY_API_URL=工作流终端地址
  4. Starting services::
    (of a computer) runnpm run devStarting the Development Server

Caveats:

  • 需提前在Dify平台创建学习工作流,导入项目提供的dify-config.yml配置文件
  • 推荐使用Node.js 16+版本运行环境
  • 生产环境部署需额外配置Nginx等Web服务器

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish