Giter Site home page Giter Site logo

open-platform-demo's Introduction

Open Platform Demo

Open Platform Demo is a simple application showing Axelor Open Platform features.

Installation

Make sure you have JDK 11 and Git installed.

Clone the latest sources:

$ git clone [email protected]:axelor/open-platform-demo.git

and build the project:

$ cd /path/to/open-platform-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 axelor-config.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/open-platform-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/open-platform-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 open-platform-demo module and run the server.

open-platform-demo's People

Contributors

pbe-axelor avatar pdo-axelor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.