django-storages-s3-env
v2019.8.11
Published
create env for django-storages S3
Downloads
44
Readme
create env for django-storages S3
Installation
$ [sudo] npm i -g django-storages-s3-envPros
- compatible with django-storages S3 settings
- create env with one command
How it works
hard-coded environment variables names:
AWS_STORAGE_BUCKET_NAMEAWS_STORAGE_USERAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY
Scripts usage
command|usage
-|-
storages-s3-create-env |usage: storages-s3-create-env bucket
Examples
Makefile, create env
MEDIA_BUCKET:=BUCKET_NAME
all:
test -s .env.prod.media || storages-s3-create-env $(MEDIA_BUCKET) > .env.prod.media