๐ This repository was exported to python-mate/G1-point and was archived.
๐ G1-point, joint development Python project! This project has three major sections.
First, input and output, using LineMessagingApi. Second, scraping, using requests and beautifulsoup4. Third, store data into SpreadSheets. Pipenv, Heroku, Flask web app, deployment using GitHub Actions.
ใใฎใใญใธใงใฏใใฏ Lightening Talk ใ่ฆๆฎใใฆ้ฒใใใใพใใใ LT ่ณๆใฏใใกใ(G1-point/docs/(2021-04-27)ใตใใLT็บ่กจ็จ.md)ใ
ไธ็ชๆๅใฎๆใกๅใใใงไฝๆใใใ่จญ่จๅณใงใใ
่จญ่จๅณใซๅ ทไฝๆงใๅ ใใใใฎใงใใ
REDpapa ใซใใๆด็ๅณใงใใ
ใพใไฝใใใฎๆนๆณใง pipenv ใๆใซๅ ฅใใฆใใ ใใใ
ใๆใซๅ ฅใใใใใฎใใใใใใชใ? ใใกใโใฎใณใใณใใ Terminal ใงๆใฃใฆใใใผใธใงใณใๅบใใฐๆๅใงใใ
pipenv --version
# -> pipenv, version 2020.11.15 ใฟใใใซๅบใใฐ OK.
pipenv ใๆใซๅ ฅใใฆใใใใใโใงใใ
git clone https://github.com/yuu-eguci/G1-point.git
cd G1-point
pipenv install
pipenv shell
# --> (G1-point) bash-3.2$ ใฟใใใซๅบใใฐ OK.
- ้็บใฏใในใฆ
pipenv shell
ใใฆใใ่กใฃใฆใใ ใใใ - pip ใขใธใฅใผใซใฎใคใณในใใผใซใฏใในใฆ
pipenv install [ใใใฑใผใธใฎๅๅ]
ใง่กใฃใฆใใ ใใใ
# ไฝๆฅญใๅงใใใจใใฏใพใใใใใใใ
pipenv shell
# (ใใจใใฐ)numpy ๅ
ฅใใใใชโฆโฆใฃใฆใใใจใใฏใใใใใ
pipenv install numpy
G1-point repository ใฏใใใใ็ฐๅขๅคๆฐใไฝฟใฃใฆใใพใใไธ้จใฎในใฏใชใใใฏใไปฅไธใฎ .env ใๅฟ ่ฆใจใใพใใ
# ๅฎ้ใซใใญใฐใฉใ ใๅใ็ฐๅขใงๅฟ
่ฆใช env(Heroku ใๆณๅฎ)
LINE_CHANNEL_ACCESS_TOKEN = ''
LINE_CHANNEL_SECRET = ''
LINE_G1_GROUP_ID = ''
SLACK_CHANNEL_NAME = ''
SLACK_BOT_TOKEN = ''
GSPREAD_CREDENTIAL_JSON = ''
# CI/CD ็ฐๅขใงๅฟ
่ฆใช env(GitHub Actions ใๆณๅฎ)
HEROKU_API_KEY = ''
HEROKU_APP_NAME = ''
HEROKU_EMAIL = ''