Inspired by Barito River, this app will handle logs management, service discovery & log stream provisioning for GO-PAY System.
Please see the details in here
- Install Homebrew
- Install Hombrew Cask
- Install rbenv using Homebrew
brew install rbenv
- Install Postgres using Homebrew
brew install postgresql
- Install Bundler using RubyGems
gem install bundler
Note: You can run
./devbox.sh
from project directory which automatically do these steps.
- Run
gem install bundler
- Copy over configuration files and modify as necessary
config/application.yml.example
toconfig/application.yml
config/database.yml.example
toconfig/database.yml
config/tps_config.yml.example
toconfig/tps_config.yml
- Run
bundle install
to install project gem dependencies - Create and migrate the databases:
RAILS_ENV=development bundle exec rake db:create db:migrate
RAILS_ENV=test bundle exec rake db:create db:migrate
- Run
RAILS_ENV=development bundle exec rake
to run the build - Run
RAILS_ENV=development bundle exec rake coverage:all
to generate coverage reports - Run
bundle exec rails s
to run the server.
All tasks reside in lib/tasks