Skip to content

Kyberia Haiku - advanced community web application based on the ideas of kyberia.sk. Kyberia-haiku is built on the Play! framework and uses MongoDB to store content.

License

Notifications You must be signed in to change notification settings

rhritz/kyberia-haiku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motivacia:
Reimplementacia kyberie do tvaru priatelskeho a zabavneho pre developerov, casom
snad aj userov.

Status:
Nasledovne veci su vo vacsej alebo mensej miere funkcne:
Registracia, prihlasovanie userov, sessions, friends, bookmarks, K, last nodes,
Mail, mail notifications, Nodes, Threads, Node permissions, Tags
To co este nie je je popisane v TODO

Licencia:
AGPL

Prerekvizity:
* Linux
* Sun/OpenJDK Java 1.5 a vyssie
* Play framework, verzia 1.1 a vyssia:
    http://download.playframework.org/releases/
    Stiahnut a rozbalit
* MongoDB, verzia 1.3 a vyssia:
    http://www.mongodb.org/display/DOCS/Downloads
    Stiahnut, rozbalit a spustit (pozor na datovy adresar)

Instalacia:
* Stiahnut source archiv z githubu
    http://github.com/rhritz/kyberia-haiku/archives/master
* Rozbalit tento archiv so zachovanim adresarovej struktury
* do adresara lib/ nalinkovat alebo skopirovat xercesImpl.jar
(nie je sucastou distribucie, vzhladom na to ze je sucastou JDK)

Spustenie:
cd [adresar v ktorom je tento subor]
[cesta k play frameworku]/play run

Pripoj sa na http://localhost:4567 a mozes sa hrat.

Struktura projektu:

conf/
application.conf - hlavny konfigurancy subor
log4j.properties - nastavenie logovania
messages         - preklady hlasok, zatial sa nepouziva
play.plugins     - deklaracia aplikacnych pluginov, v nasom pripade pre MongoDB
routes           - routovanie HTTP requestov do aplikacie
antisamy-haiku-1.4.1.xml
                 - nastavenie pravidiel parsera html inputu. inak povedane,
ak chceme povolit vkladat videa z youtube, upravime tento subor

lib/
- vsetky potrebne externe kniznice

logs/
- aplikacne logy

public/
- staticke zdroje: obrazky, css, javascripty

app/
controllers      - tu sa zacina spracovanie requestov
models           - vsetko co robi nieco s datami
models/feeds     - funkcie na odovzdavanie dat do HTML sablon
plugins          - datove pripojenia a ine objekty, ktore chceme dostupne stale
views            - html / groovy templaty

mongojs/
- stored procedury pre mongodb
- staticke loady dat do mongodb collections

Este maly hint:
Play! je velmi priatelsky framework a pozna prikazy idealize/eclipsify/netbeansify.

Pripomienky/otazky - kontaktuje ma

Enjoy!

About

Kyberia Haiku - advanced community web application based on the ideas of kyberia.sk. Kyberia-haiku is built on the Play! framework and uses MongoDB to store content.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published