Initializing the Master Project
Initializing
- Run a terminal window or open a new tab on it if you are on Linux OS or Mac OS.
- Run a new PowerShell window if you are on Windows OS.
Type meco-init
and press enter to activate Meco™.
Type either meco
or sss
in order to initialize the master project.
Upon executing the command detailed information will be displayed regarding initialized environment, which should look the following example.
----------------------------------------------------------------------------------------------------
PRE BUILD
----------------------------------------------------------------------------------------------------
CUSTOM_ENV_NAME : CUSTOM_ENV_VALUE
----------------------------------------------------------------------------------------------------
MASTER PROJECT INTERNAL
----------------------------------------------------------------------------------------------------
mApplication - 1.0.0 > /<PATH>/meco/master/internal/mApplication/1.0.0/mApplication
PATH : /<PATH>/meco/master/internal/mApplication/1.0.0/mApplication/bin/darwin
PYTHONPATH : /<PATH>/meco/master/internal/mApplication/1.0.0/mApplication/python
mCore - 1.0.0 > /<PATH>/meco/master/internal/mCore/1.0.0/mCore
MCORE_SINGLE : MCORE_SINGLE_VALUE
PYTHONPATH : /<PATH>/meco/master/internal/mCore/1.0.0/mCore/python
mDeveloper - 1.0.0 > /<PATH>/meco/master/internal/mDeveloper/1.0.0/mDeveloper
PATH : /<PATH>/meco/master/internal/mDeveloper/1.0.0/mDeveloper/bin/darwin
PYTHONPATH : /<PATH>/meco/master/internal/mDeveloper/1.0.0/mDeveloper/python
mFileSystem - 1.0.0 > /<PATH>/meco/master/internal/mFileSystem/1.0.0/mFileSystem
PYTHONPATH : /<PATH>/meco/master/internal/mFileSystem/1.0.0/mFileSystem/python
mMeco - 2.0.0 > /<PATH>/meco/master/internal/mMeco/2.0.0/mMeco
PATH : /<PATH>/meco/master/internal/mMeco/2.0.0/mMeco/bin/darwin
PYTHONPATH : /<PATH>/meco/master/internal/mMeco/2.0.0/mMeco/python
mMecoDocs - 1.0.0 > /<PATH>/meco/master/internal/mMecoDocs/1.0.0/mMecoDocs
PYTHONPATH : /<PATH>/meco/master/internal/mMecoDocs/1.0.0/mMecoDocs/python
mMecoPackage - 1.0.0 > /<PATH>/meco/master/internal/mMecoPackage/1.0.0/mMecoPackage
PATH : /<PATH>/meco/master/internal/mMecoPackage/1.0.0/mMecoPackage/bin/darwin
PYTHONPATH : /<PATH>/meco/master/internal/mMecoPackage/1.0.0/mMecoPackage/python
mMecoRelease - 1.0.0 > /<PATH>/meco/master/internal/mMecoRelease/1.0.0/mMecoRelease
PATH : /<PATH>/meco/master/internal/mMecoRelease/1.0.0/mMecoRelease/bin/darwin
PYTHONPATH : /<PATH>/meco/master/internal/mMecoRelease/1.0.0/mMecoRelease/python
mMecoSettings - 1.0.0 > /<PATH>/meco/master/internal/mMecoSettings/1.0.0/mMecoSettings
PATH : /<PATH>/meco/master/internal/mMecoSettings/1.0.0/mMecoSettings/bin/darwin
PYTHONPATH : /<PATH>/meco/master/internal/mMecoSettings/1.0.0/mMecoSettings/python
mProcess - 1.0.0 > /<PATH>/meco/master/internal/mProcess/1.0.0/mProcess
PYTHONPATH : /<PATH>/meco/master/internal/mProcess/1.0.0/mProcess/python
mQt - 1.0.0 > /<PATH>/meco/master/internal/mQt/1.0.0/mQt
PYTHONPATH : /<PATH>/meco/master/internal/mQt/1.0.0/mQt/python
----------------------------------------------------------------------------------------------------
MASTER PROJECT EXTERNAL
----------------------------------------------------------------------------------------------------
extPySide2Darwin - 5.15.2 > /<PATH>/meco/master/external/extPySide2Darwin/5.15.2/extPySide2Darwin
PATH : /<PATH>/meco/master/external/extPySide2Darwin/5.15.2/extPySide2Darwin/python/bin
PYTHONPATH : /<PATH>/meco/master/external/extPySide2Darwin/5.15.2/extPySide2Darwin/python
----------------------------------------------------------------------------------------------------
POST BUILD
----------------------------------------------------------------------------------------------------
MECO_APP_NAME :
MECO_APP_PATH :
MECO_DEVELOPER_NAME : soner
MECO_DEVELOPMENT_ENV_NAME :
MECO_DEVELOPMENT_PACKAGES_PATH :
MECO_ENV_LOG_FILE_PATH : /<PATH>/meco/master/users/soner/env/log/log_master_soner.txt
MECO_ENV_SCRIPT_FILE_PATH : /<PATH>/meco/master/users/soner/env/script/env_master_soner.sh
MECO_ES_COMMAND : meco
MECO_ES_VERSION : 1.0.0
MECO_MASTER_PROJECT_EXTERNAL_PACKAGES_PATH: /<PATH>/meco/master/external
MECO_MASTER_PROJECT_INTERNAL_PACKAGES_PATH: /<PATH>/meco/master/internal
MECO_MASTER_PROJECT_NAME : master
MECO_MASTER_PROJECT_PATH : /<PATH>/meco
MECO_MASTER_PROJECT_ROOT_PATH : /<PATH>/meco/master
MECO_PROJECT_EXTERNAL_PACKAGES_PATH : /<PATH>/meco/master/external
MECO_PROJECT_INTERNAL_PACKAGES_PATH : /<PATH>/meco/master/internal
MECO_PROJECT_NAME : master
MECO_PROJECT_PATH : /<PATH>/meco
MECO_PROJECT_ROOT_PATH : /<PATH>/meco/master
MECO_PYTHON_EXECUTABLE_PATH : /<PATH>/_libraries/venv/python382django304/bin/python
MECO_PYTHON_VERSION : 3.8.2
MECO_RESERVED_ENV_NAME : main
MECO_RESERVED_PACKAGES_PATH : /<PATH>/meco/master/developers/soner/reserved/main
MECO_STAGE_ENV_NAME :
MECO_STAGE_PACKAGES_PATH :
MECO_USE_PROJECT_APPS_ONLY : 0
----------------------------------------------------------------------------------------------------
INFO
----------------------------------------------------------------------------------------------------
Master Project Internal Packages (master) : 10
Master Project External Packages (master) : 2
----------------------------------------------------------------------------------------------------
PRODUCT INFO
----------------------------------------------------------------------------------------------------
MECO : 1.0.0 - 2021-01-01
As you can see, there are initialized packages displayed under MASTER PROJECT INTERNAL
and MASTER PROJECT EXTERNAL
entry, which refers to what we call master
project. This project contains all the released production packages,
which are served to other projects.
Some useful environment variables are also set, which can be used as needed.
Initializing master
project alone is not something you would often do since this project doesn’t serve to a
production by itself. However, as you’ll see in upcoming sections knowing about it will play an important role in
developing software in the ecosystem.
Terminating
Linux OS and Mac OS
Once you decide that you no longer need the initialized environment you can type exit
and press enter to terminate
the initialized environment. This action returns you to state where you executed the meco-init
command.
At this point you can initialize/re-initialize environments with any flag you like.
Windows OS
Please note; terminating an initialized environment is not available on Windows OS. Executing exit
command on
PowerShell window will close the window itself. Please run a new PowerShell window if you want to
initialize/re-initialize a project.