Setup - simbazo/mdlAppLogin GitHub Wiki

Setting up new applications

Applications are dependent on a number of other tables. Please read through this checklist before creating a new application.

Client

The first step is to ensure that a client has been created. The client data structure represents the business entity that owns the IP of the application.

Organisation

Ensure that the organisation responsible for the IP of the application exists. Usually, the organisation will consist of a single client. However, in cases where clients have collaborated on applications, the organisation will consist of multiple clients.

License

Ensure that a license appropriate to the application exists. If not, you will need to create one.

To create the application in SQL, run the following code in editor2.appenberg.co.za/phpmyadmin:

INSERT tapplications(`short_name`, `long_name`, `max_devices`, `licence_uuid`, `organisation_uuid`)
VALUES (@short_name, @long_name, @max_devices, @licence_uuid, @organisation_uuid)

where:

  • @short_name is the shortened version of the name which will be displayed in the application where space is a premium
  • @long_name is the full name of the app
  • @max_devices is the maximum number of devices the user can actively use the application on at any one time. The number of devices that application is is installed on is unlimited but this column sets the number of usable installations of the application.
  • @licence_uuid is the license bound to the application.
  • @organisation_uuid is the organisation that owns the IP of the application.