Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 887 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 887 Bytes

tukusi - Website update checker server

tusksi is a website update checker server made with Rails that can control by JSON API.

Features

  • Check updates for HTML documents and JSON documents
  • Send notifications to Slack channel

HTML documents are processed by nokogiri gem. Please use a headless browser renderer like rendertron for SPA pages.

Setup

Setup your database server with rails commands before starting.

bundle install
bundle exec rails db:create
bundle exec rails db:schema:load

And create your first administrator user by rails console.

Api::AdminUserForm.new(
  name: 'username',
  user_level: AdminUser::USER_LEVEL_ADMINISTRATOR,
  email: '[email protected]',
  password: 'your_safe_password_here'
).save!

Usage

Start API server and sidekiq server.

bundle exec rails server
bundle exec sidekiq