Skip to content

Commit fbcf635

Browse files
committed
add command line doc
1 parent 4dd9961 commit fbcf635

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,35 +112,41 @@ with the appropriate policy and/or IAM programmatic credential.
112112
git clone https://github.com/awslabs/thingpress thingpress
113113
```
114114

115-
2. Enter the script directory.
115+
2. Install python module dependencies.
116+
117+
```bash
118+
pip install -r requirements.txt
119+
```
120+
121+
3. Enter the script directory.
116122

117123
```bash
118124
cd thingpress/script
119125
```
120126

121-
3. Invoke the Lambda function build script. It has been known that
127+
4. Invoke the Lambda function build script. It has been known that
122128
VPN interrupts this process since it can interfere with Docker
123129
operation.
124130

125131
```bash
126132
./build.sh
127133
```
128134

129-
4. Create a private S3 bucket that will be used for deployment
135+
5. Create a private S3 bucket that will be used for deployment
130136

131137
```bash
132138
aws s3api create-bucket --acl private –-bucket <my_unique_s3_bucket>
133139
```
134140

135-
5. Invoke the packaging process. This will copy files to S3 and
141+
6. Invoke the packaging process. This will copy files to S3 and
136142
create a ```packaged.yaml`` file that evolves the template.yaml file to use S3
137143
URLs for deployment.
138144

139145
```bash
140146
./package.sh <my_unique_s3_bucket>
141147
```
142148

143-
6. Invoke the deploy script with a unique stack name and parameters
149+
7. Invoke the deploy script with a unique stack name and parameters
144150
for the IoT objects you wish to attach later. Note that during the
145151
deploy phase these objects are NOT cross-checked for validity.
146152

0 commit comments

Comments
 (0)