From f852222644785f3ea12850f7a9e90f37f0276183 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Fri, 25 Feb 2011 11:25:18 +0100 Subject: [PATCH] [doc] Added info about model and extract database data to report guide. --- ...howto-create-a-new-report-in-navalplan.rst | 305 +++++++++++++++++- 1 file changed, 288 insertions(+), 17 deletions(-) diff --git a/doc/src/technical/howto-create-a-new-report-in-navalplan.rst b/doc/src/technical/howto-create-a-new-report-in-navalplan.rst index 38db32e5e..82a06634e 100644 --- a/doc/src/technical/howto-create-a-new-report-in-navalplan.rst +++ b/doc/src/technical/howto-create-a-new-report-in-navalplan.rst @@ -12,8 +12,8 @@ During this tutorial you are going to create a report that will show the list of resources in NavalPlan. -Add entry on NavalPlan menu ---------------------------- +Add an entry on NavalPlan menu +------------------------------ First of all, you are going to add a new entry on *Reports* menu in NavalPlan, this option will link to a new ``.zul`` file inside @@ -32,6 +32,28 @@ Steps: You will see the new entry if you run NavalPlan, but the link is not going to work as ``.zul`` page still does not exist. +.. TIP:: + + If you want to run NavalPlan in development mode you need to follow the next + instructions: + + * Create a PostgreSQL database called ``navaldev`` with permissions for a + user ``naval`` with password ``naval`` (see ``INSTALL`` file for other + databases and more info). + + * Compile NavalPlan with the following command from project root folder:: + + mvn -DskipTests -P-userguide clean install + + * Launch Jetty from ``navalplanner-webapp`` directory:: + + cd navalplanner-webapp + mvn -P-userguide jetty:run + + * Access with a web browser to the following URL and login with default + credentials (user ``admin`` and password ``admin``): + http://localhost:8080/navalplanner-webapp/ + Create basic HTML interface --------------------------- @@ -83,7 +105,7 @@ Steps: class="org.navalplanner.web.common.components.ExtendedJasperreport" extends="jasperreport" ?> - + + +