Spider of this emoji list.
- macOS
- Ruby 2.7
- SQLite3
$ bundle exec ruby spider.rb
$ bundle exec rake setup:gmail
Gmail Address:your.address@gmail.com # Enter your gmail address
Application Password:********** # Enter your application password
$ bundle exec rake setup:line
TOKEN:your line notify token
- Write DB settings in config/db.yml
- file -> sqlite3 file path (required)
- name -> column name (not required)
- type -> column type (required)
- opts -> column opts (not required)
file:
'your db file'
tables:
- <table name>:
- name: <column name>
type: <column type>
opts:
- <column opts>
- 'unique: true'
- 'null: false'
- name: ...
type: ...
- <table name>:
...
- Execute migration
$ bundle exec rake db:migrate
$ bundle exec rake db:clear
$ bundle exec rake db:clear_<tablename>
$ bundle exec rake log:clear
- Clone this repo
$ git clone <this repo>
$ cd <this repo>
- Build gems
$ bundle install
- Tatsuya Abe
- abe12@mccc.jp