• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Ruby
  • Created almost 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

receive line's webhook and return rumor's checking result.

README

Requirement

You should have a PostgreSQL database running. For those not familiar with PostgreSQL, you can follow the documentation.

Usage

fill every necessary environment variables in config/application.yml.example, and rename it to

mv config/application.yml.example config/application.yml

Make sure you're using Ruby 2.5.1. then follow the usual Rails project installation steps:

gem install bundler # if you just install ruby 2.5.1
bundle install
rake db:create
rake db:migrate # in fact, schema is empty but if you skip this step, it might complain.

You can first run it on local site via command

rails s

You should also start sidekiq in another shell so that the jobs will be processed

bundle exec sidekiq

and if you'd like to test webhook from Line - Yes, you might need to setup line developer account and turn on every needed settings - Which I believe you've done at step 0 config/application.yml, now you can start to test by using ngrok, the tool is amazingly simple and helpful.

Now, have fun with your own rumor-checker :)

Run with docker-compose

docker-compose run web rake db:create db:migrate
docker-compose up

License

The project is available as open source under the terms of the MIT License.

More Repositories

1

rumors-api-client

check line rumors, base on database of cofacts (g0v project)
Ruby
87
star
2

tutorial

This is for Django Girls
14
star
3

TODOs

TODO list with Google calendar APIs, React.js on Express.
JavaScript
6
star
4

pay2go

ๅฐ็ฃๆ™บไป˜ๅฏถ (pay2go) ็ฐกๅ–ฎ็š„ API ๅฐ่ฃ
Ruby
3
star
5

invader_detector

Single ruby script's minitest practice
Ruby
1
star
6

hello

first time to use (Test)
Python
1
star
7

store_demo

Ruby
1
star
8

gmap

Create a google maps application website for searching and including about traffic jam situation at Taoyuan
JavaScript
1
star
9

FoodPin

Practice for iOS8 with Swift development.
Swift
1
star
10

helloworld_node_pkg

First node js package practice
1
star
11

identicon

Elixir practice series - Create icon by calculating string, like Github avatar.
Elixir
1
star
12

super_mailer

This is a mail API interface that connect major mail services from Node.js
JavaScript
1
star
13

shesee-vim

inherit by eddie-vim (https://github.com/kaochenlong/eddie-vim)
Vim Script
1
star
14

carcar_bot

line_chat_bot practice
Ruby
1
star
15

Rails-practice

Just simple practice of Rails project
Ruby
1
star
16

github_class

via eddie-kao
Ruby
1
star
17

CarolHsu.github.io

HTML
1
star
18

good_weather

Good Weather is a service based on APIs of OpenWeatherMap, it supposed to grab the realtime weather status of different city.
Ruby
1
star
19

fake_endpoint

To test any types of webhook payload.
Ruby
1
star
20

discuss

Phoenix practice series
Elixir
1
star
21

vimrc

my vim settings, based on amix/vimrc
Vim Script
1
star
22

Cards

Elixir practice series - simulating the card game
Elixir
1
star
23

buyble_demo

Ruby
1
star