Skip to content

Commit feb2248

Browse files
author
Sunil Mallya
committed
update readme
1 parent b451b25 commit feb2248

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,29 +107,39 @@ Click Test. At the bottom of the page you view Execution result and the log outp
107107

108108
### Lambda Deployment
109109

110-
1. Connect to a 64-bit Amazon Linux instance via SSH.
110+
Connect to a 64-bit Amazon Linux instance via SSH.
111111

112+
```
112113
ssh -i key.pem ec2-user@public-ip-address
114+
```
113115

114-
2. Ensure basic build requirements are installed.
116+
Ensure basic build requirements are installed.
115117

118+
```
116119
sudo yum install python27-devel python27-pip gcc
120+
```
117121

118-
3. Install native dependencies required by Pillow.
122+
Install native dependencies required by Pillow.
119123

124+
```
120125
sudo yum install libjpeg-devel zlib-devel
126+
```
121127

122-
4. Create and activate a virtual environment.
128+
Create and activate a virtual environment.
123129

130+
```
124131
virtualenv ~/lambda-apigateway-twilio-tutorial
125132
126133
source ~/lambda-apigateway-twilio-tutorial/bin/activate
134+
```
127135

128-
5. Install libraries in the virtual environment.
136+
Install libraries in the virtual environment.
129137

138+
```
130139
pip install Pillow
131140
132141
pip install boto3
133142
134143
pip install twilio
144+
```
135145

0 commit comments

Comments
 (0)