Skip to content

ローカルの検証用に環境変数でconfigのTIMEPOINTSなどを変更できるようにする #269

@anharu2394

Description

@anharu2394

Step 1: 目的

  • config.pyをいじって変更するのはめんどくさいので、環境変数で簡単に設定を変更できるようにしたい

Step 2: 概要

  • configのTIMEPOINTS、START_DATETIME、END_DATETIMEを環境変数によって変更可能にする

関連するコード:

https://github.com/Sakuten/backend/blob/develop/api/config.py

BACKEND_TIMEPOINTS="8:50,9:20 10:15,10:45 12:25,12:55 13:50,14:20" docker-compose up

わかりにくいですかね

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions