{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Operating System :: Unix", "Topic :: Utilities" ], "description": "\n\n[![](https://img.shields.io/badge/OS-Unix-blue.svg?longCache=True)]()\n\n#### Installation\n```bash\n$ [sudo] pip install django-static-s3\n```\n\n#### How it works\n`static/` hard-coded folder\n\nscripts:\n+ create full-access user and credentials\n+ upload `static/`\n\nhard-coded environment variables names:\n+ `AWS_S3_STATIC_BUCKET`\n+ `AWS_S3_STATIC_USER`\n+ `AWS_S3_STATIC_ACCESS_KEY_ID`\n+ `AWS_S3_STATIC_SECRET_ACCESS_KEY`\n\n#### Scripts usage\ncommand|`usage`\n-|-\n`static-s3` |`usage: static-s3 command [args]`\n`static-s3-create-bucket` |`usage: static-s3-create-bucket bucket`\n`static-s3-create-env` |`usage: static-s3-create-env bucket`\n`static-s3-upload` |`usage: static-s3-upload`\n\n#### Examples\n`Makefile`, create env\n```bash\nSTATIC_BUCKET:=BUCKET_NAME\nall:\n test -s .env.s3.static || static-s3-create-env $(STATIC_BUCKET) > .env.s3.static\n```\n\nupload `static/` to S3 \n```bash\nexport DJANGO_SETTINGS_MODULE=settings.dev\npython manage.py collectstatic --no-input\n\nset -o allexport\n. .env.s3.static || exit\n\nstatic-s3-upload\n```\n\n

\n django-readme-generator\n

", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andrewp-as-is/django-static-s3", "keywords": "django static s3", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-static-s3", "package_url": "https://pypi.org/project/django-static-s3/", "platform": "", "project_url": "https://pypi.org/project/django-static-s3/", "project_urls": { "Homepage": "https://github.com/andrewp-as-is/django-static-s3" }, "release_url": "https://pypi.org/project/django-static-s3/2019.8.9/", "requires_dist": null, "requires_python": "", "summary": "django static/ S3", "version": "2019.8.9" }, "last_serial": 5661172, "releases": { "2019.8.9": [ { "comment_text": "", "digests": { "md5": "f59aa6374c4ecc78a74b970a4e94d4ed", "sha256": "54cd52d1eeefbe9a3dc5b0255ee47bc1718d61decafa3d92bb2dfdd01f7b2bb9" }, "downloads": -1, "filename": "django-static-s3-2019.8.9.tar.gz", "has_sig": false, "md5_digest": "f59aa6374c4ecc78a74b970a4e94d4ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2954, "upload_time": "2019-08-11T06:45:04", "url": "https://files.pythonhosted.org/packages/f6/84/6d8f164d91eb054ec8d2913c38e0ade50bcb62a6437f8994b145d2b4905d/django-static-s3-2019.8.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f59aa6374c4ecc78a74b970a4e94d4ed", "sha256": "54cd52d1eeefbe9a3dc5b0255ee47bc1718d61decafa3d92bb2dfdd01f7b2bb9" }, "downloads": -1, "filename": "django-static-s3-2019.8.9.tar.gz", "has_sig": false, "md5_digest": "f59aa6374c4ecc78a74b970a4e94d4ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2954, "upload_time": "2019-08-11T06:45:04", "url": "https://files.pythonhosted.org/packages/f6/84/6d8f164d91eb054ec8d2913c38e0ade50bcb62a6437f8994b145d2b4905d/django-static-s3-2019.8.9.tar.gz" } ] }