You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,20 +40,20 @@ Begin by creating a new virtualenv and project folder.
40
40
41
41
.. code:: bash
42
42
43
-
$ mkvirtualenv lambduh
44
-
(lambduh) $ mkdir lambduh
43
+
$ mkvirtualenv pylambda
44
+
(pylambda) $ mkdir pylambda
45
45
46
46
Next, download *Python-Lambda* using pip via pypi.
47
47
48
48
.. code:: bash
49
49
50
-
(lambduh) $ pip install python-lambda
50
+
(pylambda) $ pip install python-lambda
51
51
52
-
From your ``lambduh`` directory, run the following to bootstrap your project.
52
+
From your ``pylambda`` directory, run the following to bootstrap your project.
53
53
54
54
.. code:: bash
55
55
56
-
(lambduh) $ lambda init
56
+
(pylambda) $ lambda init
57
57
58
58
This will create the following files: ``event.json``, ``__init__.py``, ``service.py``, and ``config.yaml``.
59
59
@@ -89,7 +89,7 @@ If you now try and run:
89
89
90
90
.. code:: bash
91
91
92
-
(lambduh) $ lambda invoke -v
92
+
(pylambda) $ lambda invoke -v
93
93
94
94
You will get:
95
95
@@ -108,7 +108,7 @@ When you're ready to deploy your code to Lambda simply run:
108
108
109
109
.. code:: bash
110
110
111
-
(lambduh) $ lambda deploy
111
+
(pylambda) $ lambda deploy
112
112
113
113
The deploy script will evaluate your virtualenv and identify your project dependencies. It will package these up along with your handler function to a zip file that it then uploads to AWS Lambda.
0 commit comments