Skip to content

zhanne88/narou-update-notify_line_bot

Repository files navigation

README

ENVIROMENT

  • Ruby version 2.5.3

server

WebSite

Configuration

setup development environment

git clone [email protected]:harukikubota/narou-update-notify_line_bot.git
bundle update && bundle install

Database creation

# local
rake db:migrate

# heroku
heroku run rake db:migrate

Database initialization

# local
rake db:seed

# heroku
heroku run rake db:seed

SERVER START

# local
rails s
curl localhost:3000/

# heroku
heroku restart
curl https://line-bot-notify-novel-update.herokuapp.com/

その他手順書

DEVEROP

Console

# local
rails c

# heroku
heroku run rails c

View logs

# local
cd log; view development.log

# heroku
heroku logs --tail

Services (job queues, cache servers, search engines, etc.)

# 更新通知ジョブ lib/task/notify_narou_update.rake
rake narou_update_check_and_notify_update_episode

# デバッグ用 登録されている小説の最新話を通知できるようにする
rake update_novel_last_episode_id_minus_one

Deployment instructions

git add .
git commit -m "xxx something"
git push origin master
git push heroku master

About

なろうの更新通知LINEBot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published