Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 971 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 971 Bytes

District Housing on AWS Lambda

Lambda port of just the PDF-filling bits of District Housing Rails app.

Usage

  1. Sign up for Amazon AWS
  2. Get access to Amazon S3
  3. Get access to Amazon Lambda
  4. Create an IAM account with access to S3 and Lambda
  5. Install the aws cli tools
  6. Set up an AWS profile in ~/.aws/credentials for the account created above
  7. Change the variables in deploy.sh to match your app and AWS settings
  8. Ensure you're using ruby 2.1.x in this directory
  9. Ensure you're using Bundler version 1.9.9
  10. make bin/ directory at root and copy pdftk/libgcj binaries from here
  11. run ./deploy.sh linux-x86_64
  12. test your Lambda Function!