File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -94,24 +94,13 @@ file, as shown in the following code:
94
94
Customize the Sample Application
95
95
--------------------------------
96
96
97
- This step explains how to create a web page that list planets from the
98
- Atlas :atlas:`sample data </sample-data>`. Replace the contents of
99
- ``index.php`` with the following code:
97
+ Create a web page that list planets from the Atlas :atlas:`sample data
98
+ </sample-data>` by replacing the contents of ``index.php`` with the
99
+ following code:
100
100
101
101
.. literalinclude:: /examples/aws-lambda/index.php
102
102
:language: php
103
103
104
- Redeploy the application with the new ``index.php`` by running the
105
- following command:
106
-
107
- .. code-block:: bash
108
-
109
- serverless deploy
110
-
111
- The application page displays an error message because the ``MONGODB_URI``
112
- environment variable is not set. The following section explains how to
113
- set your connection string in an environment variable.
114
-
115
104
Set AWS Credentials
116
105
-------------------
117
106
You can’t perform that action at this time.
0 commit comments