diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5429dc7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +services: + - docker +script: + - make && make install && make test diff --git a/README.md b/README.md new file mode 100644 index 0000000..7d0c383 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Ruby in AWS Lambda with PostgreSQL / Nokogiri + +## Usage + +### Build and test locally + +``` +make && make install && make test +``` + +### Deploy + +Before deploying, you will need to create an IAM role for Lambda (it doesn't need any policies), and copy its ARN into the `--role` parameter. + +``` +make zip && make deploy && make invoke +```