Skip to content

Create project

Ahmad K. Bawaneh edited this page Jun 13, 2021 · 7 revisions

Create project

In this part we will create a new domino-mvp application and confirm it compile and runs successfully.

Steps
  • Follow the steps from Creating a project to create a new project Use the name wallet and the groupId org.dominokit.tutorials

  • Once the command is completed a folder wallet will be created, cd into the folder cd wallet.

  • Run mvn clean install this should build the project for you.

  • When the project build completes successfully, find the project README.md and follow the steps inside to run the application - the readme will list more than one way to run the application, you can pick anyone -

  • Following the readme steps when we open the browser we will end up with an empty page, since this is a new empty project all we got is some logs in the browser console., we should see something like this :

Logs

  • After confirming the application is running, shutdown the application.

  • in the application folder copy the runConfigurations folder inside the .idea - if not visible enable show hidden files option -, this will prepare some ready to use run-configuration for the intellij IDE.

  • Open the project in intellij.

  • From intellij run drowpdown select development and run, this will run the application in development mode, in which it will run the gwt codeserver and the vertx server.

if intellij asks for an sdk to be set-up please setup java 1.8 sdk and make sure to re-execute the development run action.

With this now you have a domino-mvp application ready for development and you can run/stop it directly from your intellij IDE.


Next :