create env for django-storages S3
Project description
Installation
$ [sudo] pip install django-storages-s3-env
$ [sudo] npm i -g django-storages-s3-env
Pros
- compatible with django-storages S3 settings
- create env with one command
How it works
hard-coded environment variables names:
AWS_STORAGE_BUCKET_NAME
AWS_STORAGE_USER
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
Examples
Makefile
, create env
MEDIA_BUCKET:=BUCKET_NAME
all:
test -s .env.prod.media || storages-s3-create-env $(MEDIA_BUCKET) > .env.prod.media
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-storages-s3-env-2020.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aebce518546cc8b4bd8a9f08ae7223f9bc62a74852115f8b922e1c8b2cd98f9e |
|
MD5 | 7fce7ca2cc6f7f18958bfa2f3ac52100 |
|
BLAKE2b-256 | 12e6a53848151eb04b300a20a27b568fdc3435dce8b463478911e5a0a624be10 |