From dcce3c5ee7d8c1c130315f29ec9a3b6be455959f Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Fri, 31 Jan 2020 08:45:21 -0800 Subject: [PATCH] Add `TIME_ZONE` configuration to EB documentation --- .ebextensions/babybuddy.config | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ebextensions/babybuddy.config b/.ebextensions/babybuddy.config index de78d333..cfacbafe 100644 --- a/.ebextensions/babybuddy.config +++ b/.ebextensions/babybuddy.config @@ -2,6 +2,7 @@ option_settings: aws:elasticbeanstalk:application:environment: DJANGO_SETTINGS_MODULE: babybuddy.settings.eb SECRET_KEY: CHANGETOSOMETHINGRANDOM + TIME_ZONE: Etc/UTC aws:elasticbeanstalk:container:python:staticfiles: '/static/': 'static/' aws:elasticbeanstalk:container:python: diff --git a/README.md b/README.md index 99c95f63..e1230e00 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ for detailed information. cd babybuddy -1. Change the `SECRET_KEY` value to something random in `.ebextensions/babybuddy.config` +1. Set the `SECRET_KEY` and `TIME_ZONE` values in `.ebextensions/babybuddy.config` 1. [Create an IAM user](http://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html) in AWS with EB, EC2, RDS and S3 privileges.