Initializing Production Projects


We are going to use van project in the tutorials as our production project as this is the default production project that comes with Meco™ setup. If you do not have this project, you can use any project that you have.

  • 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 meco command on the terminal with project flag and van as its value. If the project name that you want to initialize is different from van use that one instead.

The entire command should look like the following.

On Linux and Mac OS.

meco --project van

On Windows OS.

meco -p van

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


----------------------------------------------------------------------------------------------------
PROJECT INTERNAL
----------------------------------------------------------------------------------------------------
mCore2 - 1.7.0                > /<PATH>/meco/van/internal/mCore2/1.7.0/mCore2
PYTHONPATH                    : /<PATH>/meco/van/internal/mCore2/1.7.0/mCore2/python

mMecoSettings - 18.8.4        > /<PATH>/meco/van/internal/mMecoSettings/18.8.4/mMecoSettings
PYTHONPATH                    : /<PATH>/meco/van/internal/mMecoSettings/18.8.4/mMecoSettings/python


----------------------------------------------------------------------------------------------------
PROJECT EXTERNAL
----------------------------------------------------------------------------------------------------
django - 10.1.0               > /<PATH>/meco/van/external/django/10.1.0/django
PYTHONPATH                    : /<PATH>/meco/van/external/django/10.1.0/django/python


----------------------------------------------------------------------------------------------------
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

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/van/users/soner/env/log/log_van_soner.txt
MECO_ENV_SCRIPT_FILE_PATH                 : /<PATH>/meco/van/users/soner/env/script/env_van_soner.sh
MECO_ES_COMMAND                           : meco --project van
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/van/external
MECO_PROJECT_INTERNAL_PACKAGES_PATH       : /<PATH>/meco/van/internal
MECO_PROJECT_NAME                         : van
MECO_PROJECT_PATH                         : /<PATH>/meco
MECO_PROJECT_ROOT_PATH                    : /<PATH>/meco/van
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
----------------------------------------------------------------------------------------------------
Project Internal Packages (van)           : 2
Project External Packages (van)           : 1
Master Project Internal Packages (master) : 10
Master Project External Packages (master) : 1

----------------------------------------------------------------------------------------------------
PRODUCT INFO
----------------------------------------------------------------------------------------------------
MECO                                      : 1.0.0 - 2021-01-01

Just like in initializing master project, MASTER PROJECT INTERNAL and MASTER PROJECT EXTERNAL sections appear in the displayed information. PROJECT INTERNAL and PROJECT EXTERNAL sections are also added to show information about the initialized environment (production project). We’ll learn more about this architecture later.

Some environment variables are also set as well just like previous time.