Updated documentation in deploy.rst. Also slightly tweaked database settings in production.py