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.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2e7072123a07ff90b6cb88cfed9aea8c5ae5dd1c1330cfe93c2bd930ae3801 |
|
MD5 | 86573ff95476668056d688f3abb255ac |
|
BLAKE2b-256 | 12f24f5ae2ac9e27dcd6c5d7ddc4b93fd393b8461820d02a5dcbb293a1eeb35e |