root / okeanos_site / README @ 0768522a
History | View | Annotate | Download (1.6 kB)
1 |
~Okeanos intro site application |
---|---|
2 |
=============================== |
3 |
|
4 |
About |
5 |
----- |
6 |
This is a django application that contains the intro site |
7 |
pages for ~okeanos project. |
8 |
|
9 |
Its placed inside synnefo repository for convenience pupropses |
10 |
to ease the deployment process for the alpha version of the |
11 |
project. |
12 |
|
13 |
|
14 |
Static files |
15 |
------------ |
16 |
The application provides its own static files (images/css/js) |
17 |
seperated from the ones included in ui application. For convenience |
18 |
the url of the static files can be dynamicly change by proper set |
19 |
of the OKEANOS_STATIC_URL setting variable. |
20 |
|
21 |
|
22 |
Settings |
23 |
-------- |
24 |
- OKEANOS_STATIC_URL |
25 |
See `Static files`. |
26 |
|
27 |
Defaults to "/okeanos_static/" |
28 |
|
29 |
- OKEANOS_SITE_URL |
30 |
The url of the intro site (that displays the |
31 |
introductory application video) |
32 |
|
33 |
Defaults to "/okeanos" |
34 |
|
35 |
- OKEANOS_APP_URL |
36 |
The url of the ~okeanos webapp. |
37 |
|
38 |
Defaults to "/" |
39 |
|
40 |
- OKEANOS_VIDEO_URL |
41 |
Vimeo flash url. |
42 |
|
43 |
|
44 |
Views |
45 |
----- |
46 |
The application contains 2 views. |
47 |
|
48 |
The okeanos_site.views.intro that displays the okeanos logo |
49 |
and redirects to `OKEANOS_SITE_URL`. |
50 |
|
51 |
The okeanos_site.views.index that displays the introductory |
52 |
video/info and depending on if the user already has the web app |
53 |
cookie displays a link that forwards user to the `OKEANOS_APP_URL`. |
54 |
|
55 |
|
56 |
Templates |
57 |
--------- |
58 |
The content of the info blocks (who/why/what) are placed in |
59 |
templates/okeanos/pages directory. |
60 |
For test purposes the templates currently make use of the |
61 |
`django.contrib.webdesign` template `lorem` tag. |
62 |
|
63 |
|
64 |
Urls |
65 |
---- |
66 |
The application contains a convenience `urls.py` file which |
67 |
extends the synnefo urlpatterns with two extra urls. |
68 |
|