create env for django-storages S3
Project description
Installation
$ [sudo] pip install 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
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
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-2019.8.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd8cd2dcf0202c1e50abc2d426c868046b0e307715f07c84daaeaf88cb9071c |
|
MD5 | 0a4f777c4bf1a3084d4101b7c964c10b |
|
BLAKE2b-256 | 616d2a8b3932122a87602b08f9f332e869997193187258a03aaf56d5e8851530 |