Skip to content

ShionFujimori/line-notify-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line-notify-app

LINE Notification App

Usage

  1. Create a virtual Python environment and install all libraries in requirements.txt
virtualenv env
source env/bin/activate

pip install -r requirements.txt
  1. Get .env file which contains LINE token, and place it under the root directory.
  2. Create a empty images folder under the root directory.
  3. One-time run
python app.py -type {stock, search-num} -keyword KEYWORD
  1. Periodic run (default: type='stock', keyword='cad jpy')
crontab cron.txt

How to change the periodic run settings?

  1. Open the cron.txt file, and change the settings.
  2. crontab cron.txt

How to stop the periodic run?

  1. Open the cron.txt, and comment out the settings.
  2. crontab cron.txt

Aside: How to edit the crontab file directly?

crontab -e

Aside: How to view the content of crontab file?

crontab -l

CI/CD

  • CI: python-flake8 check when a new pull request is created.
  • CD: TODO.

Releases

No releases published

Packages

No packages published

Languages