Skip to content

Commit

Permalink
Bump version (#124)
Browse files Browse the repository at this point in the history
* bump version

* update readme
  • Loading branch information
jbukhari authored Jul 3, 2024
1 parent a1a2ee4 commit 2b1dd8d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ This is a Lambda function for running dlx-dl-sync.

To do: Update this, since it's not relevant anymore

This describes how to deploy this function to AWS Lambda using the Python library [python-lambda](https://pypi.org/project/python-lambda/). The files in this directory are the standard files necessary for deploying Python code to Lambda.
~This describes how to deploy this function to AWS Lambda using the Python library [python-lambda](https://pypi.org/project/python-lambda/). The files in this directory are the standard files necessary for deploying Python code to Lambda.~

AWS credentials must be configured in the deployment environment.
~AWS credentials must be configured in the deployment environment.~

1. Navigate to this directory (`dlx-dl/aws-lambda`)
~1. Navigate to this directory (`dlx-dl/aws-lambda`)
2. Make sure a virtual environment (venv) is activated.
3. ```pip install -r requirements.txt```
4. ```lambda deploy```
4. ```lambda deploy```~

Note that once the Lambda function is deployed, it will not run until it is "invoked". [Several methods exist to invoke the function](https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html).
~Note that once the Lambda function is deployed, it will not run until it is "invoked". [Several methods exist to invoke the function](https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html).~

### Running the Lambda function locally (for development/testing purposes)

```lambda invoke -v --event-file=bib-event.json```
~```lambda invoke -v --event-file=bib-event.json```~
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name = 'dlx_dl',
version = '1.2.4',
version = '1.2.5',
url = 'http://github.com/dag-hammarskjold-library/dlx-dl',
author = 'United Nations Dag Hammarskjöld Library',
author_email = '[email protected]',
Expand Down

0 comments on commit 2b1dd8d

Please sign in to comment.