Info |
---|
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 unser under Fedora 16 and deploy it to Tomcat.
...
Note: Tomcat 5 did not work as expected, .WAR had to be unzipped manualymanually. TODO: Investigate why.
Information for other envirinments will follow as needed.
Requred software
As root:
Code Blocknoformat |
---|
yum install git maven tomcat
service tomcat start
|
Source code
repository: https://github.com/OpenDataSk/open-data-node
Checkout
Anonymous, read-only:
Code Blocknoformat |
---|
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
Code Blocknoformat |
---|
cd open-data-node.git mvn package |
Configuration & Deploy
Code Blocknoformat |
---|
cp target/open-data-node-0.0.1-SNAPSHOT.war /var/lib/tomcat/webapps |
Note: Make sure the account you are working under has writable writeable access to webapps
directory.
Hint about configuration (more info: still TODO): As user tomcat
do:
Code Blocknoformat |
---|
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 iun in browser (elinks
text mode used browser in the example, but Firefox will suffice too, of course ).
Code Blocknoformat |
---|
elinks http://localhost:8080/open-data-node-0.0.1-SNAPSHOT/ elinks http://localhost:8080/open-data-node-0.0.1-SNAPSHOT/admin |