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 "lbd"
  • Command "ib"
  • Proxy configuration
  • Defining the depot containing the bundles
  • How to install a bundle with Git clone?
  1. Bundles of templates

Bundles installation

PreviousBundle creationNextBundles management

Last updated 4 months ago

The most efficient way to use templates is to install existing bundles and then adapt them to the specific needs of the project.

Bundles of templates can be installed from a “depot”. A "depot" contains several bundles, which are actually Git repositories. A "depot" can be a GitHub organization or a GitHub user (containing a Git repository for each bundle).

Command "lbd"

The "lbd" command means "List Bundles available in the Depot".

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

Syntax: lbd [bundle-name-part-1] [bundle-name-part-2] [bundle-name-part-N]

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

Examples:

  • lbd -> show all available bundles

  • lbd java -> show all available bundles with “java” in their name

  • lbd java php -> show all available bundles with “java” or "php" in their name

Command "ib"

The "ib" command means "Install Bundle(s)". It allows to install one or more bundles from the Depot.

Syntax: ib bundle-name-part-1 [bundle-name-part-2] [bundle-name-part-N]

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

Examples:

  • ib php -> install all bundles with “php” in their name

  • ib php java -> install all bundles with “php” or "java" in their name

  • ib * -> install all bundles

Example: install all bundles with name containing "java"

Note: When installing bundles with the “ib” command, only bundles that do not exist locally are installed. In this way, it is not possible to overwrite a local bundle that may contain specialized templates for the current project.

Example:

Proxy configuration

Defining the depot containing the bundles

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

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

How to install a bundle 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 bundles -> see "SpecificDepotForBundles" in

See

Project configuration
Project configuration
Install with Git