Táto stránka popisuje staršiu proof-of-concept verziu Open Data Node, tzv. verziu 0.1.x . Aktuálne prebieha vývoj vrámci projektu COSMODE a najčerstvejšie informácie môžete nájsť na adrese:
Informácie o implementácii projektu Open Data Node.
TODO: Keď stránka získa uspokojivú a ustabilizovanú podobu, presunúť ju do portálu a zabezpečiť aj preklad do angličtiny.
Initial info
This preliminary HOWTO contains information how to check-out Open Data Node under Fedora 16 and deploy it to Tomcat.
Following versions of Tomcat were tested:
- tomcat5-5.5.31-3.fc15.noarch
- tomcat6-6.0.32-17.fc16.noarch
- tomcat-7.0.26-1.fc16.noarch
Note: Tomcat 5 did not work as expected, .WAR had to be unzipped manually. TODO: Investigate why.
Information for other envirinments will follow as needed.
Requred software
As root:
yum install git maven tomcat service tomcat start
Source code
repository: https://github.com/OpenDataSk/open-data-node
Checkout
Anonymous, read-only:
git clone https://github.com/OpenDataSk/open-data-node.git
Create a GitHub account and use other appropriate URL to check-out with write access through your account.
Build
cd open-data-node.git mvn package
Configuration & Deploy
cp target/open-data-node-0.0.1-SNAPSHOT.war /var/lib/tomcat/webapps
Note: Make sure the account you are working under has writeable access to webapps
directory.
Hint about configuration (more info: still TODO): As user tomcat
do:
mkdir ~/.odn cp /var/lib/tomcat/webapps/open-data-node-0.0.1-SNAPSHOT/WEB-INF/classes/. ~/.odn
and look into ~/.odn
at the defaults, possibly do some tweaks.
Running
Open the URL in browser (elinks
text mode used browser in the example, but Firefox will suffice too, of course ).
elinks http://localhost:8080/open-data-node-0.0.1-SNAPSHOT/ elinks http://localhost:8080/open-data-node-0.0.1-SNAPSHOT/admin
2 Comments
Hanečák Peter
Nuz, checkout projektu z git repozitara do Eclipse ... nie je uplne jednoznacny ... takze pomocka:
importing a maven project into eclipse from git
Hanečák Peter
Ak by sme si vymienali git repozitar "sukromne", cez nejaky server kde mame SSH a shell pristup (a kde je nainstalovany git):
8 ways to share your git repository: Share using ssh server