deploying.rst 749 B

123456789101112131415
  1. Deploying in Production
  2. =======================
  3. Deploying django-browserid in a production environment requires a few extra
  4. changes from the setup described in the :doc:`Quickstart </user/quickstart>`:
  5. - The :attr:`BROWSERID_AUDIENCES <django.conf.settings.BROWSERID_AUDIENCES>`
  6. setting is required when ``DEBUG`` is set to False. Ensure that all the
  7. domains that users will access your site from are listed in this setting.
  8. - `Optional`: It is a good idea to minify the static JS and CSS files you're
  9. using. `django-compressor`_ and `jingo-minify`_ are examples of libraries
  10. you can use for minification.
  11. .. _django-compressor: http://django-compressor.readthedocs.org/en/latest/
  12. .. _jingo-minify: https://github.com/jsocol/jingo-minify