- 적용대상: ReadyBaby Apps Script, 기타 GCP cloud functions 개발 프로젝트
- based off of the typescript cloud function templates
npm, tsc, gcloud commands installed
- node 10.x
- typescript+gcp cloud function 개발환경
- Edit .env
FUNCTION_NAME=helloWorld
REGION=
GCP_PROJECT=kidskid-19
RUNTIME=nodejs10
- Lint
$ npm run lint
$ npm run build
$ npm run test
$ npm run deploy:staging OR $ npm run deploy:prod
- deploy 셋팅확인 필요. 환경변수 잘 설정해서 적용하기
- production 업로드 전, 전체백업 필수(currentCode, DB backup등)
- Mercury
- Venus
- Earth (Orbit/Moon)
- Mars
Feel free to create a pull request:) Recommended settings, bug fixes, descriptions and more!