Skip to content

Guide Step 1 Init

Laurent GUERIN edited this page Dec 26, 2017 · 2 revisions

Telosys User Guide - Project initialization

At the beginning

When Telosys-CLI starts nothing is defined ( no "home directory", no "model", no "bundle", etc...)

You can use the env command to see the current Telosys environment.

With the command h you can see that the "home directory" is not yet defined.

1 - Set the "home directory"

When Telosys-CLI starts its current directory is the directory where it has been launched

Use pwd to print the current working directory

Use cd to change the current directory

Once your are in the correct directory (the directory where you want to work with Telosys) you can use the h command to set the project's home

Examples :

h . : HOME is set to the current directory

h foo : HOME is set to the "foo" subdirectory

2 - Initialize the Telosys environment in your project

Once the "home directory" is defined, you can initialize the Telosys projet.

For that just run the init command

This command creates the "TelosysTools" folder containing all the Telosys files and subfolders.

Next step

The next step is about model creation.

Clone this wiki locally