## 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.
1. `source venv/bin/activate`
1. `pip install -r requirements.txt`
* on Debian systems, some packages are required for pip to succeed:
- * `apt-get install python-dev libpython-dev python-psycopg2 libmemcached-dev libffi-dev libssl-dev postgresql-server-dev-X.Y`
+ * `apt-get install python-dev libpython-dev python-psycopg2 libmemcached-dev libffi-dev libssl-dev postgresql-server-dev-X.Y`libxml2-dev libxslt-dev
1. `pip install -r requirements-dev.txt`
## Configuration
* `fetching_usde_csv` requires `7zip` to be installed for processing compressed
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 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`.
+
## Run
Make sure you are inside your virtual environment (`source venv/bin/activate`).