root / okeanos_site / 90-okeanos.conf.sample @ 6e20b628
History | View | Annotate | Download (1.9 kB)
1 |
# append okeanos_site application to django installed apps |
---|---|
2 |
INSTALLED_APPS = list(INSTALLED_APPS) + ['synnefo.okeanos_site'] |
3 |
|
4 |
# for production deployment no DEBUG needed |
5 |
DEBUG = True |
6 |
|
7 |
# invitations only, no login page exists |
8 |
# redirect client to the intro page |
9 |
LOGIN_URL = "http://host:port/intro" |
10 |
|
11 |
# redirect to login url (intro) on user logout |
12 |
LOGOUT_URL = LOGIN_URL |
13 |
|
14 |
# bypass Shibboleth authentication for /okeanos and /intro pages |
15 |
# (they should be available to the public) |
16 |
AAI_SKIP_AUTH_URLS = list(AAI_SKIP_AUTH_URLS) + ['/about', '/intro', '/okeanos_static'] |
17 |
|
18 |
# change django url configuration |
19 |
# okeanos_site.urls includes and extends/modifies synnefo.urls |
20 |
# based on the needs of okeanos aplha release |
21 |
ROOT_URLCONF = 'synnefo.okeanos_site.urls' |
22 |
|
23 |
# the url that is linked with okenaos_site.views.index view |
24 |
OKEANOS_SITE_URL = "/about" |
25 |
|
26 |
# the url of the synnefo web application (synnefo.ui.views.home) |
27 |
OKEANOS_APP_URL = "/ui" |
28 |
|
29 |
# video sources (see okeanos_site/README) |
30 |
# mp4 should be absolute url for flash player to work (flash video player |
31 |
# is the fallback video player for IE) |
32 |
# |
33 |
# VIDEOS ARE NOT CONTAINED IN PROJECT FILES |
34 |
# you can download all files from http://<videos tar.gz download url> |
35 |
# and extract the containing directory on okeanos_site/static/okeanos_static/ |
36 |
# |
37 |
# wget http://<videos tar.gz download url>/okeanos_intro_vide.tar.gz |
38 |
# tar xzvf okeanos_intro_video.tar.gz -C okeanos_site/static/okeanos_static/ |
39 |
OKEANOS_VIDEO_URL = { |
40 |
'mp4': {'src': 'http://host:port/okeanos_static/intro_video/intro_video.m4v', 'codecs': 'avc1.42E01E, mp4a.40.2'}, |
41 |
'webm': {'src': 'http://host:port/okeanos_static/intro_video/intro_video.webm', 'codecs': 'vp8, vorbis'}, |
42 |
'ogg': {'src': 'http://host:port/okeanos_static/intro_video/intro_video.ogv', 'codecs': 'theora, vorbis'} |
43 |
} |
44 |
|
45 |
# The image placeholder url. Image gets displayed above video position |
46 |
# as a placeholder when the video is stopped |
47 |
OKEANOS_VIDEO_POSTER_IMAGE_URL = "/okeanos_static/intro_video/intro_video.jpg" |