Deploying serverless stack

Integrations and microservices leverage serverless functions. To deploy these functions to the cloud provider, makefile scripts can be used.

First, install npm and python packages by running npm ci in the backend directory.

cd backend
npm ci script will take care of installing both main backend packages, serverless related npm packages, and python microservices pip packages.

To deploy each serverless stack to the staging environment

cd backend
make deploy-serverless

To deploy the serverless stack to the production environment

cd backend
make deploy-serverless-prod

Did this page help you?