Skip to content

bayko/lamby-cookiecutter

 
 

Repository files navigation

Lamby Cookiecutter

Lamby: Simple Rails & AWS Lambda Integration using Rack.

An AWS SAM cookiecutter project template to quickly create a new Rails application for AWS Lambda. Details:

  • Rails v6.x on Ruby 2.7 runtime.
  • Integrated JavaScript development.
  • Compiles CSS/JS assets with LibSass & Webpacker.
  • No ActiveRecord persistence. To add, read our Database Options guides.
  • Consider using DynamoDB via the Aws::Record gem.

Lamby: Simple Rails & AWS Lambda Integration using Rack.

Usage

⚠️ Please reference the full Quick Start guide on the Lamby site for details. Basic usage is:

SAM Init

$ docker run \
  --rm \
  --interactive \
  --volume "${PWD}:/var/task:delegated" \
  lambci/lambda:build-ruby2.7 \
  sam init --location "gh:customink/lamby-cookiecutter"

Setup & Deploy (within project)

$ ./bin/bootstrap
$ ./bin/setup
$ ./bin/deploy

Contributing

This starter project is 100% scripted within Docker using the scripts in the bin directory. To build run the following commands.

./bin/bootstrap
./bin/build

Code of Conduct

Everyone interacting in the Lamby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

AWS SAM Cookiecutter to Quick Start Rails & Lambda 🐑🛤

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 36.0%
  • Shell 27.2%
  • Python 14.5%
  • HTML 13.1%
  • JavaScript 5.4%
  • Dockerfile 2.1%
  • Other 1.7%