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