Update README.rst

There is no random in os module, changed to urandom (same as in default_setttings), also fixed path in example apache config.
This commit is contained in:
Michał Margula
2016-10-22 10:51:52 +02:00
committed by GitHub
parent 3fbd182453
commit 1897a4393f

View File

@@ -310,7 +310,7 @@ and run it once:
import os import os
print os.random(24) print os.urandom(24)
Copy the output and add the following to your ``wsgi.py`` file: Copy the output and add the following to your ``wsgi.py`` file:
@@ -332,7 +332,7 @@ Here is a sample configuration for Debian and Ubuntu:
CustomLog /var/log/apache2/puppetboard.access.log combined CustomLog /var/log/apache2/puppetboard.access.log combined
Alias /static /usr/local/lib/pythonX.Y/dist-packages/puppetboard/static Alias /static /usr/local/lib/pythonX.Y/dist-packages/puppetboard/static
<Directory /usr/lib/python2.X/dist-packages/puppetboard/static> <Directory /usr/local/lib/pythonX.X/dist-packages/puppetboard/static>
Satisfy Any Satisfy Any
Allow from all Allow from all
</Directory> </Directory>