https://github.com/scanf-s/boj_scraper
https://github.com/scanf-s/boj_scraper
docker github-actions lambda python
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/scanf-s/boj_scraper
- Owner: Scanf-s
- Created: 2025-01-26T09:48:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T10:48:05.000Z (over 1 year ago)
- Last Synced: 2025-03-29T13:15:54.441Z (about 1 year ago)
- Topics: docker, github-actions, lambda, python
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 이 모듈은 람다 함수 전용 모듈입니다.
## 1. scraper 모듈에서
```shell
python -m venv .venv
source .venv/bin/activate
```
## 2. requirements.txt 설치
```shell
pip install -r requirements.txt
```
## 3. 배포용 패키지 디렉토리 생성, 패키지 설치
```shell
mkdir distribution
pip install --target ./distribution -r requirements.txt
```
## 4. 소스코드 복사
```shell
cp lambda_database.py scraper.py lambda_function.py ./distribution
```
## 5. zip 파일 생성
```shell
cd distribution
zip -r ../deploy_lambda.zip .
```
## 6. zip 파일 lambda에 업로드