Yohoushi is a graphing tool, which assembles GrowthForecast. Documents are avialable at gh-pages.
- ruby >= 2.0.0
- MySQL
- GrowthForecast >= 0.62
Install and run MySQL and GrowthForecast. Configure config/application.yml
and config/database.yml
.
bundle
Note that the default RAILS_ENV
is being switched to production
, not development
so that users of yohoushi can easily install and run it in production environment.
Thus, developers must specify RAILS_ENV=development
.
Database initialization
RAILS_ENV=development bin/rake db:create db:migrate
Run a rails app only (Use -b 0.0.0.0
to bind to 0.0.0.0
not localhost
)
RAILS_ENV=development bin/rails s
Run a serverengine worker only
RAILS_ENV=development bin/serverengine
Run both a rails app and a serverengine worker through god
(Use -d
option to daemonize):
RAILS_ENV=development bin/yohoushi
Stop both the daemonized rails app and serverengine worker:
RAILS_ENV=development bin/yohoushi stop
RAILS_ENV=test bin/rake db:drop db:create db:migrate
rspec
See CHANGELOG.md for details.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2013 DeNA Co., Ltd. See LICENSE for details.