Skip to content

maestrooo/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.
  • No ActiveRecord. Read our Database Options guides.

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

If you have the AWS SAM CLI already installed, use the first command. If not, use the second Docker based command.

$ sam init --location "gh:customink/lamby-cookiecutter"
$ docker run \
  --rm \
  --interactive \
  --volume "${PWD}:/var/task" \
  public.ecr.aws/sam/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

  • HTML 94.6%
  • Ruby 2.5%
  • Shell 1.7%
  • Python 1.0%
  • CSS 0.1%
  • Dockerfile 0.1%