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 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, .
...
Zdrojové kódy
...
WAR had to be unzipped manually. TODO: Investigate why.
Information for other envirinments will follow as needed.
Requred software
As root:
No Format |
---|
yum install git maven tomcat
service tomcat start
|
Source code
repositoryrepozitár: https://github.com/OpenDataSk/open-data-node
Checkout
...
Build
...
TODO
...
Configuration & Deploy
...
TODO
...
Running
...
Anonymous, read-only:
No Format |
---|
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
No Format |
---|
cd open-data-node.git
mvn package |
Configuration & Deploy
No Format |
---|
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:
No Format |
---|
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 ).
No Format |
---|
elinks http://localhost:8080/open-data-node-0.0.1-SNAPSHOT/
elinks http://localhost:8080/open-data-node-0.0.1-SNAPSHOT/admin |
...