Lambda port of just the PDF-filling bits of District Housing Rails app.
- uses pdftk binary from lambda-pdftk-example
- lambda/traveling ruby deploy script from ruby-on-lambda
- Sign up for Amazon AWS
- Get access to Amazon S3
- Get access to Amazon Lambda
- Create an IAM account with access to S3 and Lambda
- Install the aws cli tools
- Set up an AWS profile in
~/.aws/credentials
for the account created above - Change the variables in
deploy.sh
to match your app and AWS settings - Ensure you're using ruby 2.1.x in this directory
- Ensure you're using Bundler version 1.9.9
- make
bin/
directory at root and copy pdftk/libgcj binaries from here - run
./deploy.sh linux-x86_64
- test your Lambda Function!