Skip to content

pdo-axelor/axelor-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axelor Demo

Axelor Demo is a simple application showing Axelor Development Kit features.

Installation

Make sure you have JDK 1.8 and Git installed.

Clone the latest sources:

$ git clone git@github.com:axelor/axelor-demo.git

and build the project:

$ cd /path/to/axelor-demo
$ ./gradlew -x test build

This should generate the war package for under build/libs directory. You can test the war by deploying on your tomcat server.

You can also test the application using the embedded tomcat server. First edit the application.properties and configure the database to use and then run the following command from the interactive shell.

$ ./gradlew --no-daemon run

The application should start printing some logs in your terminal window. After few seconds, you should see something like this:

...
Ready to serve...

Running at http://localhost:8080/axelor-demo

Launch the browser and open the application url as printed on terminal. Use the default admin/admin as the user name and password. You should be in the application.

Eclipse

The application project can be imported in Eclipse IDE. In order to import the project, you first have two options:

  1. Using buildship 2.1 plugin

    $ ./gradlew classes copyWebapp

    This will make sure all the required classes are generated and resource required for web ui are copied.

    From eclipse, import the project using File -> Import... -> Gradle -> Existing Gradle Project menu.

  2. Generate eclipse project files like this:

    $ cd /path/to/axelor-demo
    $ ./gradlew classes copyWebapp cleanEclipse eclipse

    This will generate eclipse project files for the application project and all it’s submodules.

    From the eclipse, import the projects using File -> Import... -> General -> Existing Projects into Workspace menu. In the import project wizard check the Search for nested projects so that all the submodules are also imported.

You can also run the application inside eclipse using eclipse WTP tools. Create a tomcat8.5 server add the axelor-demo module and run the server.

About

Axelor Demo App based on Axelor Development Kit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.1%
  • HTML 0.9%