Skip to main content

ALM app: getting started

To follow this tutorial, you need to have an account for Genesis Launchpad. This site gives you an environment for running Genesis Create, an IDE for looking at the project code, and a plugin that enables you to build and run the app.

If you haven't received this or don't know your details, contact:
dev.support@genesis.global.

Genesis Launchpad

  1. Go to Genesis launchpad and sign in.

  2. The ALM app is listed as a template in the lower part of the screen. Click on the Open in Create button for the app.

Genesis Create

Genesis Create enables you to create a Genesis application from scratch in a very short space of time, without writing any code.

tip

You can find the JSON file for the app on github if you want to work with the project in your own IDE.

In short, Genesis Create enables you to:

  • select the components you need for your app
  • create the tables (entities) for your database
  • create views that draw data from different tables
  • set up queries that provide this data to the front end
  • set up Event Handlers that enable you to insert, modify and delete data in the tables
  • configure consolidators that aggregate data, such as the value of a set of trades
  • create a front end that enables users to view grids of data and charts

These stages are all set out at the top left of the Create window.

You can use the Next and Back buttons to move back and forward through the steps.

tip

Feel free to look into each step and see what has been set up.

Once you have done this, click on the Next until you reach the Summary page.

Running and building

Make sure you are on the Summary page of Genesis Create. Click on the Open in Genesis Cloud Workspace tab, then on the Open in Genesis Cloud Workspace button.

This generates a project and opens an IDE in the Cloud Workspace.

You can browse through the project that has been generated by Genesis Create.

  • The client subdirectory contains a fully working web application for the front end of our application.
  • The server subdirectory contains the generated Genesis configuration files for each of the microservices that make up the back end of the application.

You can now build and run the app.

  1. Click on the menu icon to the left and select View -> Command Palette.

  1. To see the list of available commands, type Genesis:. Then select Genesis Build Project. This starts a full build. When this is complete, you will see the message BUILD SUCCESSFUL in the terminal tab at the bottom right of the screen.

  2. Now you can initialise the database and start our server and client processes. Click the Run and Debug icon.

  1. Select Bootstrap + Start App, then click on the Start button at the left of the selector.

This creates the database, loads some data and applies permissions. It takes a few minutes to complete.

  1. When all the processes are UP, switch to the PORTS tab at the bottom. Go to the Web line and click on the Open in Browser icon.

tip

If the web port (6060) has not been displayed in the PORTS tab automatically, you can add it manually:

Select the blue Add Port button and type 6060 in the field that appears. This adds the web port.

When the web application is displayed in your browser, you can login using:

  • username: admin
  • password: genesis

That's it. Now you can take a look at your working app.