Statistics
| Branch: | Tag: | Revision:

root / okeanos_site / 90-okeanos.conf.sample @ 07c022b9

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
OKEANOS_VIDEO_URL = {
35
    'mp4': {'src': 'http://okeanos.grnet.gr/intro_video/intro_video.m4v', 'codecs': 'avc1.42E01E, mp4a.40.2'},
36
    'webm': {'src': 'http://okeanos.grnet.gr/intro_video/intro_video.webm', 'codecs': 'vp8, vorbis'},
37
    'ogg': {'src': 'http://okeanos.grnet.gr/intro_video/intro_video.ogv', 'codecs': 'theora, vorbis'}
38
}
39

    
40
# The image placeholder url. Image gets displayed above video position
41
# as a placeholder when the video is stopped
42
OKEANOS_VIDEO_POSTER_IMAGE_URL = "/intro_video/intro_video.png"
43

    
44
# flowplayer swf url
45
# wget http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf
46
# wget http://releases.flowplayer.org/swf/flowplayer.controls-3.2.0.swf
47
#
48
# flowplayer.controls swf should be placed on the same url as flowplayer swf
49
OKEANOS_VIDEO_FLOWPLAYER_URL = "http://okeanos.grnet.gr/intro_video/flowplayer-3.2.1.swf"