Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.
/ G1-point Public archive

๐Ÿšš This repository was exported to python-mate organization. ๐Ÿ‡ 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.

License

Notifications You must be signed in to change notification settings

yuu-eguci/G1-point

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

95 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

G1-point

๐Ÿšš 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.

LT document

ใ“ใฎใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฏ Lightening Talk ใ‚’่ฆ‹ๆฎใˆใฆ้€ฒใ‚ใ‚‰ใ‚Œใพใ—ใŸใ€‚ LT ่ณ‡ๆ–™ใฏใ“ใกใ‚‰(G1-point/docs/(2021-04-27)ใตใŸใ‚ŠLT็™บ่กจ็”จ.md)ใ€‚

G1-point structure

Blueprint

ไธ€็•ชๆœ€ๅˆใฎๆ‰“ใกๅˆใ‚ใ›ใงไฝœๆˆใ•ใ‚ŒใŸ่จญ่จˆๅ›ณใงใ™ใ€‚

first-blueprint

Blueprint ver2

่จญ่จˆๅ›ณใซๅ…ทไฝ“ๆ€งใ‚’ๅŠ ใˆใŸใ‚‚ใฎใงใ™ใ€‚

second-blueprint

Structure note by REDpapa

REDpapa ใซใ‚ˆใ‚‹ๆ•ด็†ๅ›ณใงใ™ใ€‚

papaใ‚ตใƒณใซใ‚ˆใ‚‹ๆ•ด็†

How to install

ใพใšไฝ•ใ‚‰ใ‹ใฎๆ–นๆณ•ใง 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.

How to develop

  • ้–‹็™บใฏใ™ในใฆ pipenv shell ใ—ใฆใ‹ใ‚‰่กŒใฃใฆใใ ใ•ใ„ใ€‚
  • pip ใƒขใ‚ธใƒฅใƒผใƒซใฎใ‚คใƒณใ‚นใƒˆใƒผใƒซใฏใ™ในใฆ pipenv install [ใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใฎๅๅ‰] ใง่กŒใฃใฆใใ ใ•ใ„ใ€‚
# ไฝœๆฅญใ‚’ๅง‹ใ‚ใ‚‹ใจใใฏใพใšใ“ใ‚Œใ‚’ใ‚„ใ‚‹ใ€‚
pipenv shell

# (ใŸใจใˆใฐ)numpy ๅ…ฅใ‚ŒใŸใ„ใชโ€ฆโ€ฆใฃใฆใ„ใ†ใจใใฏใ“ใ†ใ™ใ‚‹ใ€‚
pipenv install numpy

.env

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 = ''

About

๐Ÿšš This repository was exported to python-mate organization. ๐Ÿ‡ 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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages