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
File details
Details for the file django-storages-s3-env-2020.12.3.tar.gz
.
File metadata
- Download URL: django-storages-s3-env-2020.12.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aebce518546cc8b4bd8a9f08ae7223f9bc62a74852115f8b922e1c8b2cd98f9e |
|
MD5 | 7fce7ca2cc6f7f18958bfa2f3ac52100 |
|
BLAKE2b-256 | 12e6a53848151eb04b300a20a27b568fdc3435dce8b463478911e5a0a624be10 |