Browse Source

correcting note on static file hosting for dev

closes #442
Bryan 8 years ago
parent
commit
14643edabe
2 changed files with 5 additions and 3 deletions
  1. 2 0
      .env.example
  2. 3 3
      README.md

+ 2 - 0
.env.example

@@ -1,5 +1,7 @@
 DATABASE_URL='postgres://<user>:<password>@<host>:<port>/<database>'
 
+DEFAULT_FILE_STORAGE='django.core.files.storage.FileSystemStorage'
+
 #DEFAULT_FILE_STORAGE='storages.backends.s3boto.S3BotoStorage'
 #AWS_ACCESS_KEY_ID='ASCIINONSENSE'
 #AWS_SECRET_ACCESS_KEY='AlphaNumerics+OtherCharacters'

+ 3 - 3
README.md

@@ -363,7 +363,7 @@ environment variables `TWITTER_CONSUMER_KEY`, `TWITTER_CONSUMER_SECRET`,
 
 ## Configuring foreman
 
-KarmaNotes runs on Heroku as a webapp and thus makes use of a Procfie. While
+KarmaNotes runs on Heroku as a webapp and thus makes use of a Procfile. While
 not strictly necessary, KarmaWorld can use the same basic Procfile which is
 convenient and consistent.
 
@@ -439,8 +439,8 @@ desired.
      archives. On Debian-based systems, this entails `apt-get install p7zip-full`
 
 If using `DJANGO_SETTINGS_MODULE='karmaworld.settings.dev'` in `.env`, static
-file hosting is done by local files and completely ignores the
-`DEFAULT_FILE_STORAGE` setting in `.env`.
+file hosting should be done by local files.  `DEFAULT_FILE_STORAGE` should be
+set to `django.core.files.storage.FileSystemStorage`.
 
 If using `DJANGO_SETTINGS_MODULE='karmaworld.settings.prod'` in `.env`, static
 file hosting is done by `DEFAULT_FILE_STORAGE` defined in `.env`.