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

如何在本机部署Napkins.dev?需要配置哪些关键环境变量?

2025-08-25 1.1 K

本地部署Napkins.dev需要完成以下关键步骤:

1. Access to source code

git clone https://github.com/Nutlope/napkins

2. Environmental configuration

  • Node.js 18+运行环境
  • .env文件配置(需复制.env.example):

必须配置的环境变量包括:

  • TOGETHER_API_KEY:Together AI平台的API密钥(官网注册获取)
  • AWS S3相关配置组:
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • AWS_S3_BUCKET
    • AWS_S3_REGION

3. Dependency installation

npm install

4. Activation of services

npm run dev

interviewshttp://localhost:3000即可使用。需特别注意:

  • AWS S3存储桶需配置公开读取权限
  • Together AI提供免费额度用于测试
  • 本地运行时建议先试用简单截图验证配置

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