diff --git a/apps/openchallenges/data-lambda/README.md b/apps/openchallenges/data-lambda/README.md index 83209fad3..f04f4af2f 100644 --- a/apps/openchallenges/data-lambda/README.md +++ b/apps/openchallenges/data-lambda/README.md @@ -1,15 +1,15 @@ -# Sandbox Lambda Python +# OpenChallenges Data Lambda ## Build the project ```console -nx build sandbox-lambda-python +nx build openchallenges-data-lambda ``` ## Build the Docker image of the Lambda function ```console -nx build-image sandbox-lambda-python +nx build-image openchallenges-data-lambda ``` ## Start the Lambda function locally with Docker Compose @@ -18,14 +18,14 @@ Starts the Lambda function in the foreground, allowing you to view logs and inte directly. ```console -nx serve sandbox-lambda-python +nx serve openchallenges-data-lambda ``` Starts the Lambda function in detached mode, running it in the background. This is useful if you want to continue using the terminal for other tasks while the function runs. ```console -nx serve-detach sandbox-lambda-python +nx serve-detach openchallenges-data-lambda ``` ## Invoke the Lambda function locally @@ -33,7 +33,7 @@ nx serve-detach sandbox-lambda-python To invoke the Lambda function after starting it locally, use the following command: ```console -nx run sandbox-lambda-python:invoke --event +nx run openchallenges-data-lambda:invoke --event ``` Replace `` with the path to your JSON file containing the event payload relative @@ -41,5 +41,5 @@ to the location of the project folder. For example, if your event payload is sto located at `events/event.json` relative to the project folder: ```console -nx run sandbox-lambda-python:invoke --event events/event.json +nx run openchallenges-data-lambda:invoke --event events/event.json ```