-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgameplan.txt
33 lines (24 loc) · 901 Bytes
/
gameplan.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
update detect.py to work with parameters rather than command line args
update lambda to call detect.py. update main to be useful for debuging
make a script that creates a .zip folder
remove pycache
remove previous .zip
create new .zip
make a folder, create git repository
sync repository with s3
folder structure
lambda_app
script that creates .zip
.zip
.git, .gitignore et al.
make a subfolder for the lambda application
build the environment
on ec2 instance with linux2 (as in lambda service) install rqs in ./packages
add location of the packages to sys.path
do a trial run, ensure lambda function works.
Update lambda function to return PIL.Image compressed .jpg image encoded in base64
rather than the full numpy uint8 array.
TODO: additional script or update current script
commit changes to github and s3
update your lambda function to work with s3
test your lambda function