Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add info about static files

Adam Bogdał6f298a1152ce
diff --git a/README.md b/README.md
index d2a6ab66ff..8cbb4f37ee 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,20 @@ Usage
$ heroku config:set SECRET_KEY='<your secret key here>'
$ heroku config:set ALLOWED_HOSTS='<your hosts here>'
+### Amazon S3
+
+Configure S3 for serving media files:
+
+ $ heroku config:set AWS_ACCESS_KEY_ID='<your key id>'
+ $ heroku config:set AWS_SECRET_ACCESS_KEY='<your access key>'
+ $ heroku config:set AWS_MEDIA_BUCKET_NAME='<your bucket name>'
+
+`saleor` supports serving static files through [WhiteNoise](https://warehouse.python.org/project/whitenoise/) by default.
+If you intend to use S3 for your static files as well, set the following config variable:
+
+ $ heroku config:set AWS_STATIC_BUCKET_NAME='<your bucket name>'
+
+
### Deploy
$ git push heroku master
@@ -51,12 +65,7 @@ Usage
### Prepare the database
$ heroku run python manage.py migrate
-
-### Configure Amazon S3
-
- $ heroku config:set AWS_ACCESS_KEY_ID='<your key id>'
- $ heroku config:set AWS_SECRET_ACCESS_KEY='<your access key>'
- $ heroku config:set AWS_MEDIA_BUCKET_NAME='<your bucket name>'
+
Google Analytics