OLR_HOME
cd OLR_HOME maven
WEBAPP_DIR.
The OLR application will be mounted as [WEBAPP_CONTEXT]/olr
where WEBAPP_CONTEXT
is the URl prefix of the used web application container
i.e. Tomcat, Jetty or JBoss.
NOTE: Sometimes you need to move [WEBAPP_CONTEXT]/lib/postgresql-7.4-jdbc3.jar to another file and back. A restart of the OLR web application is also required. To do that, simply restart your application server.
In order to run OLR a database like PostgreSQL (or maybe others) is needed. You should create a database and an appropriate database user for the OLR application.
Create a database user.
NOTE: On some systems you need to be logged in as user "postgres".
createuser olr
Create the database
createdb -O olr -E UNICODE olr
-O
specifies the user who owns the database named olr.
For more information on PostgreSQL databases see the PostgeSQL documentation
at http://www.postgresql.org/docs/.
In order to create the OLR database tables and intial data
you need to define the right jdbc database connection settings
in the file OLR_HOME/target/conf/Torque.properties
.
Now switch to the OLR installation directory or to one of the build directories like target/ and run
ant
Good luck :)
After you have installed the binary or source version of OLR you can start OLR as follows.
cd OLR_HOME/target/bin ./run
The OLR System is by default accessible loading the URL http://localhost:8002
in a web browser.
If OLR runs within an seperate servlet container
OLR can be accessed via the URL http://servletconatiner:port/olr
where servletconatiner
and port
need to be replaced by values appropriate to the environment of the used servlet container.
Once the start page is loaded you can log into the OLR system
using the login name admin
and password olr
.
It is recommended to change the administrator password shown above as soon as possible.
Extending OLR using Eclipse is easy
since the build system generates an Eclipse project for OLR.
Just go to the directory OLR_HOME
and execute the command
maven eclipse
In order to use OLR within Eclipse, create a new java project in Eclipse and choose the OLR root directory as project directory.
NOTE: Generating the Eclipse project while Eclipse is opened might cause the project to get out of synch. In that case you need to refresh the project after an Ant run i.e. by "right clicking" on the project and choosing "refresh".
Thanks for using OLR.