Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

我想本地运行bk-log代码,但是本地提示环境需要APP_ID和BKPAAS_APP_ID 我需要如何申请呢,本地没有搭建BKPASS的条件 #2034

@zhangyi558

Description

@zhangyi558

Image
File "/data/blueking/bk-log-4.3.1-299/settings.py", line 40, in
_module = import(DJANGO_CONF_MODULE, globals(), locals(), ["*"])
File "/data/blueking/bk-log-4.3.1-299/config/init.py", line 48, in
APP_CODE = get_env_or_raise("APP_ID", "BKPAAS_APP_ID")
File "/data/blueking/bk-log-4.3.1-299/config/init.py", line 41, in get_env_or_raise
('Environment variable "{}" not found, you must set this variable to run this application.').format(keys)
RuntimeError: Environment variable "('APP_ID', 'BKPAAS_APP_ID')" not found, you must set this variable to run this application
需要帮我解决下这个问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions