Skip to content

DominoKit/bookstore

Repository files navigation

How to run

  • run mvn clean verify to build

  • Run for development :

    • For super dev mode
      • In one terminal run mvn gwt:codeserver -pl *-frontend -am

      • In another terminal cd bookstore-backend

      • execute mvn exec:java

      • the server port will be printed in the logs access the application on http://localhost:[port]

    • For gwt compiled mode
      • cd bookstore-backend
      • execute mvn exec:java -Dmode=compiled
      • the server port will be printed in the logs access the application on http://localhost:[port]
    • For production mode
      • cd bookstore-backend
      • execute java -jar target/bookstore-backend-1.0-SNAPSHOT-fat.jar
      • the server port will be printed in the logs access the application on http://localhost:[port]
    • Running the API server
      • In a separate terminal cd bookstore-api and from there follow the readme file inside bookstore-api module