Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: restored content from {code} macros which got slost during Confluence upgrade

...

Information for other envirinments will follow as needed.

Requred software

As root:code

 

No Format

...

yum install git maven tomcat
service tomcat start
Source code

repository: https://github.com/OpenDataSk/open-data-node

Checkout

Anonymous, read-only:code

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:code

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.

...

Open the URL in browser (elinks text mode used browser in the example, but Firefox will suffice too, of course (smile) ).code

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

...