Skip to content

Commit 91f8f18

Browse files
committed
added instructions for debian distro
1 parent 34c7c91 commit 91f8f18

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ This is the tricky part. This project relies on third party projects that requir
3131
$> rm -rf .env
3232
$> zip -r letslambda.zip .
3333

34+
If you're development environment is running on Debian Linux, you need the following commands:
35+
36+
$> apt-get install -V python-virtualenv python-pip libssl-dev python-dev libffi-dev
37+
$> virtualenv .env
38+
$> source .env/bin/activate
39+
$> pip install -r requirements.txt
40+
$> mv .env/lib/python2.7/site-packages/* .
41+
$> mv .env/lib64/python2.7/site-packages/* .
42+
$> mv .env/src/acme/acme/acme* .
43+
$> rm -rf .env
44+
$> zip -r letslambda.zip .
45+
3446
Once this is done, all you have to do is to upload your lamnbda function to an S3 bucket.
3547

3648
$> aws s3 cp letslambda.zip s3://bucket/

0 commit comments

Comments
 (0)