Giter Site home page Giter Site logo

pezi / bookstore-example-graal-vm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vaadin/bookstore-example

0.0 0.0 0.0 2.9 MB

Example Vaadin project available at vaadin.com/start

Home Page: https://vaadin.com/start

JavaScript 1.96% Java 93.68% CSS 3.56% HTML 0.80%

bookstore-example-graal-vm's Introduction

Bookstore App Starter for Vaadin

A project example for a Vaadin application that only requires a Servlet 3.1 container to run (no other JEE dependencies). The UI is built with Java only.

The easiest way of using it is via https://vaadin.com/start - you can choose the package naming you want.

Prerequisites

The project can be imported into the IDE of your choice, with Java 8 or 11 installed, as a Maven project.

Project Structure

The project is following the standard Maven project layout.

Workflow

To compile the entire project, run "mvn install" in the project root.

Other basic workflow steps:

  • getting started
  • compiling the whole project
    • run mvn install in project root
  • developing the application
  • creating a production mode war
    • run mvn package -Pproduction
  • running in production mode

Running Integration Tests

Integration tests are implemented using TestBench. The tests take a few minutes to run and are therefore included in a separate Maven profile. To run the tests using Google Chrome, execute

mvn verify -Pit

and make sure you have a valid TestBench license installed. If the tests fail because of an old Chrome Driver or you want to use a different browser, you'll need to update the webdrivers.xml file in the project root.

Profile it adds the following parameters to run integration tests:

-Dwebdriver.chrome.driver=path_to_driver
-Dcom.vaadin.testbench.Parameters.runLocally=chrome

If you would like to run a separate test make sure you have added these parameters to VM Options of JUnit run configuration

Branching information:

  • master the latest version of the starter, using the latest platform version

bookstore-example-graal-vm's People

Contributors

vaadin-bot avatar mehdi-vaadin avatar pekam avatar zhesun88 avatar pleku avatar manolo avatar artur- avatar caalador avatar dependabot[bot] avatar shadikhani avatar samie avatar ujoni avatar alvarezguille avatar tarekoraby avatar juhopiirainen avatar amahdy avatar anasmi avatar platosha avatar benwilsoni avatar bogdanudrescu avatar haijian-vaadin avatar someonetoignore avatar legioth avatar mshabarov avatar mikotin 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.