- Python 2.7 (Recommend yyuu/pyenv: Simple Python version management)
- pip
- virtualenv
- Ruby 2.3.1 (Recoomend rbenv/rbenv: Groom your app’s Ruby environment with rbenv)
- RubyGems
- Bundler
- Terraform
Install dependencies:
$ pip install -r requirements.txt
$ bundle install --path vendor/bundle
Create IAM role to execute lambda functions:
$ apex infra plan # Dry-run
$ apex infra apply # Apply changes
Move to the example
function directory:
$ cd functions/example
Install dependencies:
$ make deps
$ make test
$ apex deploy example --chdir ../../ --log-level debug
Run all tests:
$ bundle exec rake spec
© 2017 Tomohiro TAIRA.
This project is licensed under the MIT license. See LICENSE for details.