Skip to content

Commit d1562ff

Browse files
committed
finished first draft of getting started
1 parent 617e3ac commit d1562ff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,13 @@ If you now try and run:
9292
"your test handler was successfully invoked!" should print out in your console. You've probably already put together that the ``lambda invoke`` command passes the values stored in the ``event.json`` file to your function.
9393

9494
The ``event.json`` file should help you develop your Lambda service locally.
95+
96+
When you're ready to deploy your code to lambda simply run:
97+
98+
.. code:: bash
99+
100+
(my_microservice) $ lambda deploy
101+
102+
The deploy script will evaluate your virtualenv and identify your project dependencies (actually just pip freeze). It will package these up along with your handler function to a zip file that it then uploads to AWS Lambda.
103+
104+
You can now log into the AWS Lambda management console to verify the code deployed successfully and wire it up to respond to an event.

0 commit comments

Comments
 (0)