blob: 425a2e3ebd84cef476086605b33eca8c3d042f8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
the file containing the images:
name == name to be used for syslog
img = relative path(from MEDIA_URL) to the image
In settings.py set CONFIG_PATH to the absolute path to the python file which contains the image data.
Set ADS_LENGTH to the number of images you want to be shown (<= number of all images).
Set MEDIA_URL to the url where all images are.
Set SECRET_KEY, you may want use: pwgen -scny 51 1
Always do an "apache2ctl reload" if you changed some settings/images.
|