Telosys doc
WebsiteTwitterLinkedInNews
  • Telosys documentation
  • Telosys CLI
    • Installation on Linux
    • Installation on Windows
    • CLI configuration
    • CLI commands
    • Getting started
  • Telosys with VSCode
    • Extension installation
    • VSCode settings
    • Telosys terminal in VSCode
    • Telosys editor configuration
  • Telosys with JetBrains IDE
  • Project configuration
  • Project variables
  • Project databases
  • Models and entities
    • Model structure
    • Entity
    • Attribute / Link
    • Annotations
    • Tags
    • Examples
    • Model creation
    • Model installation
    • Models management
  • Bundles of templates
    • Bundle structure
    • Bundle creation
    • Bundles installation
    • Bundles management
    • Velocity language
    • Velocity directives
    • Velocity object types
    • Telosys directives
    • Telosys variables
    • Telosys objects
    • Code snippets
  • Code generation
    • "gen" command
    • "genb" command
  • Target languages
    • C++
    • C#
    • Golang
    • Java
    • JavaScript
    • Kotlin
    • PHP
    • Python
    • Scala
    • TypeScript
  • Target databases (SQL)
    • Predefined rules
    • Specific rules
    • Type size and precision
  • Telosys with Git
    • GitHub usage
    • Install with Git
    • Publish with Git
  • Support the project
  • How to contribute
  • Sponsors
  • IDE and editors
  • Telosys 3 Eclipse plugin
    • Eclipse plugin installation
    • Eclipse customization
    • Telosys 3 database model
Powered by GitBook
On this page
  • Command "lmd"
  • Command "im"
  • Proxy configuration
  • Defining the depot containing the models
  • How to install a model with Git clone?
  1. Models and entities

Model installation

PreviousModel creationNextModels management

Last updated 4 months ago

Since version 4.2.0 it's now possible to install models from a "depot".

A "depot" is a collection of Git repositories, each repository is a "model".

Command "lmd"

The "lmd" command can be used to "List Models available in the Depot".

It can be used to see which models can be installed.

Syntax: lmd [model-name-part-1] [model-name-part-2] [model-name-part-N]

For more convenience, you can use only a part of the model name. If several models contain this part in their name then they will all be listed.

Examples:

  • lmd -> show all available models

  • lmd ord -> show all available models with “ord” in their name

  • lmd ord car -> show all available models with “ord” or "car" in their name

Command "im"

The "im" command means "Install Model(s)". It allows to install one or more models from the Depot.

Syntax: im model-name-part-1 [model-name-part-2] [model-name-part-N]

For more convenience, you can use only a part of the model name. If several bundles contain this part in their name then they will all be installed.

Examples:

  • im ord -> install all models with “ord” in their name

  • im ord car -> -> install all models with “ord” or "car" in their name

  • im * -> install all models

Example: install all models with name containing "ord"

Note: When installing models with the “im” command, only models that do not exist locally are installed. In this way, it is not possible to overwrite a local model.

Example:

Proxy configuration

Defining the depot containing the models

By default the depot is the GitHub organization containing the Telosys models examples.

Use the "cfg" command to see the current configuration including the "depot for models".

How to install a model with Git clone?

These commands must use Internet to reach the depot. So, if you are using a proxy to access Internet, you must configure it in the project configuration file. See "Network proxy configuration" in "".

You can define your own depot for models -> see "SpecificDepotForModels" in

See

Project configuration
Project configuration
Install with Git