fonts-vault/.env.example
bo.yu fccf9f1b59 chore: remove testing infrastructure and add environment configuration
- Add .env.example file with database, authentication, and OSS configuration templates
- Update .gitignore to exclude specific environment files (.env.development, .env.production, .env.local)
- Remove test-related npm scripts (test, test:watch, test:coverage) from package.json
- Remove testing dependencies (vitest, @vitest/coverage-v8, fast-check) from devDependencies
- Delete vitest.config.ts configuration file
- Remove test command documentation from README.md
- Simplify project setup by removing test infrastructure while maintaining core development tooling
2025-11-28 16:31:54 +08:00

23 lines
521 B
Text

# 环境标识
NODE_ENV=development
# 数据库配置
DATABASE_URL=file:./data/dev.db
# NextAuth.js 认证配置
AUTH_SECRET=your-super-secret-key-change-this-in-production
NEXTAUTH_URL=http://localhost:3000
# 管理员账号配置
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin123
ADMIN_EMAIL=admin@example.com
# OSS 配置
OSS_ENDPOINT=https://your-oss-endpoint.aliyuncs.com
OSS_BUCKET=your-bucket
OSS_FONT_PREFIX=fonts
OSS_FOLDER=font-packages
# 字体静态 URL (CDN)
NEXT_PUBLIC_FONT_STATIC_URL=https://your-cdn.com