File tree Expand file tree Collapse file tree 3 files changed +1
-24
lines changed Expand file tree Collapse file tree 3 files changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,6 @@ Set up your environment
62
62
63
63
inv docker.up --init # --init is only needed the first time
64
64
65
- #. add read permissions to the storage backend:
66
-
67
- * go to http://localhost:9000/ (MinIO S3 storage backend)
68
- * login as ``admin `` / ``password ``
69
- * click "..." next to the ``static `` bucket name and then "Edit Policy"
70
- * leave "prefix" empty and click "Add" to give "Read Only" access on the ``static `` bucket
71
- * click on the "+" icon on the bottom-right corner, then "Create bucket" with the name ``media ``,
72
- hit Enter on the keyboard, and repeat the operation above to give "Read Only" access to it
73
-
74
65
#. go to http://community.dev.readthedocs.io to access your local instance of Read the Docs.
75
66
76
67
Original file line number Diff line number Diff line change @@ -167,9 +167,6 @@ def show_debug_toolbar(request):
167
167
S3_STATIC_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'
168
168
S3_MEDIA_STORAGE_OVERRIDE_HOSTNAME = 'community.dev.readthedocs.io'
169
169
170
- AWS_AUTO_CREATE_BUCKET = True
171
- AWS_DEFAULT_ACL = 'public-read'
172
- AWS_BUCKET_ACL = 'public-read'
173
170
AWS_S3_ENCRYPTION = False
174
171
AWS_S3_SECURE_URLS = False
175
172
AWS_S3_USE_SSL = False
Original file line number Diff line number Diff line change @@ -101,18 +101,7 @@ django-cors-middleware==1.4.0 # pyup: ignore
101
101
# User agent parsing - used for analytics purposes
102
102
user-agents==2.2.0
103
103
104
-
105
- # Utilities used to upload build media to cloud storage
106
- # django-storages is pinned to this particular commit because it
107
- # supports generating URLs with other method than GET when using
108
- # private buckets.
109
- #
110
- # Besides, support for the corresponding AWS_BUCKET_ACL and
111
- # AWS_AUTO_CREATE_BUCKET settings have been removed in 1.10. We depend on this
112
- # in our Docker setup. We can upgrade it but we need to add a
113
- # `create_buckets.sh` to be called on `--init` as we used to do for Azurite
114
- # https://github.com/jschneier/django-storages/pull/636
115
- git+https://github.com/jschneier/django-storages@d0f027c98a877f75615cfc42b4d51c038fa41bf6#egg=django-storages[boto3]==1.9.1
104
+ django-storages==1.12.3
116
105
117
106
118
107
# Required only in development and linting
You can’t perform that action at this time.
0 commit comments