Made with Lamby's quick start to 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. Read our Database Options guides.
Lamby: Simple Rails & AWS Lambda Integration using Rack.
$ ./bin/bootstrap
$ ./bin/setup
$ ./bin/deploy
- Provide a new value for the
SECRET_KEY_BASE
. Alternatively, you can set this using Dotenv & SSM Parameter Store in the Environments & Configuration section of your build file. - Using JavaScript? Webpacker is setup and ready to go, but we commented out the yarn install in the
./bin/_setup
script. Uncomment to enable. Also uncomment both the CSS & JavaScript include tags in theapp/views/layouts/application.html.erb
file.