如何设置 环境变量 DATABASE_URL 和 REDIS_URL?
Open
- Dominant language
- TypeScript
- Stars
- 3.3k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
我的所有配置都已经搞好了 但是启动服务以后
会提示"请设置环境变量 DATABASE_URL 和 REDIS_URLPlease set the environment variables DATABASE_URL and REDIS_URL."
我尝试创建.env或者.env.local 配置属性, 重启服务器,仍然无法获取到这两个值.
麻烦问问,这两个值到底怎么设置才可以生效?
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named in the issue. Start with the repository's setup or configuration documentation and identify where DATABASE_URL and REDIS_URL are read; done means documenting a configuration that the service actually recognizes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, databases
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100