lambda-local
Commandline tool to run Amazon Lambda function on local machines.
파일 탐색기
최종 버전 다운로드 (.zip)- unittests.yml
- event_apigateway.js
- event_awsconfig.js
- event_cloudformation.js
- event_cloudfront.js
- event_dynamodb-update.js
- event_helloworld.js
- event_iot_button.js
- event_kinesis.js
- event_lex.js
- event_s3-put.js
- event_ses_recv_email.js
- handler_edge_cloudfront.js
- handler_gateway2.js
- handler_helloworld.js
- README.txt
- context.ts
- mute.ts
- streaming.ts
- utils.ts
- cli.ts
- lambdalocal.ts
- test-event-env.js
- test-event.js
- test-func-async.js
- test-func-awsprofile.js
- test-func-cb-0.js
- test-func-cb-empty.js
- test-func-cb-error.js
- test-func-cb-fail.js
- test-func-cb-false.js
- test-func-cb-null.js
- test-func-cb-undefined.js
- test-func-echo.js
- test-func-env.js
- test-func-error.js
- test-func-esm.mjs
- test-func-fail.js
- test-func-mocking.js
- test-func-not-stringifyableoutput.js
- test-func-print.js
- test-func-promise-fail.js
- test-func-promise.js
- test-func-require-error.js
- test-func-streaming-simple.js
- test-func-streaming.js
- test-func-synchronous.js
- test-func-syntax-error.js
- test-func-timeout.js
- test-func-waitemptyloop.js
- test-func.js
- debug.aws
- env
- test.js
- .gitattributes
- .gitignore
- .jshintrc
- CHANGELOG.md
- LICENSE
- Makefile
- package.json
- README.md
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/ashiina/lambda-local
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd lambda-local
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다.
npm install -g lambda-local
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
npm install -g lambda-local
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm install --only=dev
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm run build
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make build
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
