Custom template for the Serverless Framework for AWS Ruby projects.
The template comes configured with:
- serverless-ruby-package plugin to package gem dependencies
- rspec with a stub unit test
- simplecov
- rubocop
Initialize your project using this template
# master is the most recent released version
sls create --name my-project --template-url https://github.com/apsoto/serverless-aws-ruby-template/tree/master/template
Install Dependencies:
cd ./my-project
npm install
bundle config set path --local 'vendor/bundle'
bundle install --standalone
Confirm Setup
bundle exec rake
sls package