Ruby HTML CSS JavaScript Shell Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
data
db
docs
lib
log
public
setup
spec
tmp
vendor/assets
.gitignore
.rspec
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

egotter

Build Status

Please enjoy egotter! ✧*。٩(ˊᗜˋ*)و✧*。

Screenshots

Desktop

Top page Result page

Mobile

Top page Result page

Architecture

Server architecture

Design

SearchesController#new

Display a top page.

In routes.rb:

root 'searches#new'

SearchesController#create

Create a new search result.

If search results which someone created before exists, the user will be redirected to TimelinesController#show to see existing data. On this page the browser will periodically check new search result with ajax polling.

If any search results don't exist, the user will be redirected to SearchesController#waiting and the browser will periodically check first search result.

SearchesController#waiting

TimelinesController#show

Server Components

Nginx

/etc/nginx/nginx.conf

MySQL on RDS

Rails

Unicorn

config/unicorn.rb

/etc/init.d/unicorn

Redis

/etc/redis.conf

config/initializers/redis.rb

Sidekiq

/etc/init.d/sidekiq_base

/etc/init.d/sidekiq

config/initializers/sidekiq.rb

td-agent

/etc/td-agent/td-agent.conf.web

/etc/td-agent/td-agent.conf.sidekiq

Monit

/etc/monit.conf

Setup

Read setup/install_egotter.sh

/etc/init.d/egotter start

License

Egotter is released under the MIT License.