Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anharu2394 opened this issue Mar 28, 2019 · 0 comments

Comments

@anharu2394
Copy link
Member

anharu2394 commented Mar 28, 2019

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

わかりにくいですかね

@shino16 shino16 self-assigned this Mar 29, 2019
@shino16 shino16 removed their assignment May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants