Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 1.21 KB

README.md

File metadata and controls

89 lines (62 loc) · 1.21 KB

ServerlessSampler

Requirements

Development

Architecture

architecture

Setting

1. Python

shell

$ pyenv local 3.6
$ python -m venv .venv3
$ source .venv3/bin/activate
$ pip install pipenv
$ pipenv install

fish shell

$ pyenv local 3.6
$ python -m venv .venv3
$ source .venv3/bin/activate.fish
$ pip install pipenv
$ pipenv install

2. Start localstack

$ make localstack-up

3. Stop localstack

$ make localstack-stop

Code style check

$ make lint

Unit test

$ make unit-test

Deploy

1. Configure AWS credentials

  • ~/.aws/credentials
[sampler-development]
aws_access_key_id = <your_aws_access_key_id>
aws_secret_access_key = <your_aws_secret_access_key>
  • ~/.aws/config
[profile sampler-development]
region = ap-northeast-1
output = json

2. Deploy

$ make deploy