Skip to content

Environments

An environment contains the libraries or packages required to run the microservice, module or project smoothly in the shortest timeframe.

NodeJS

Each root folder has a package.json, after installation is completed you will have a node_modules folder containing all the necessary dependencies. This folder has a significant size in terms of memory. Therefore, we recommend just saving the package.json file.

If you want to install just the development dependencies use the following command:

npm install --only=dev

Python

Each Root folder of a project usually comes with an environment setup created using virtualenv. These environments are compatible with windows or linux machines, in order to activate an environment go to the Scripts folder and run the following command:

./Scripts/activate

If the command was executed sucessfully you will see the name of the environment as a prefix in the command line execution path:

(analytics) PS C:\User\test\Documents\root>

To disable the environment use the following command:

deactivate