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.shfrom project directory which automatically do these steps.
- Run
gem install bundler - Copy over configuration files and modify as necessary
config/application.yml.exampletoconfig/application.ymlconfig/database.yml.exampletoconfig/database.ymlconfig/tps_config.yml.exampletoconfig/tps_config.yml
- Run
bundle installto install project gem dependencies - Create and migrate the databases:
RAILS_ENV=development bundle exec rake db:create db:migrateRAILS_ENV=test bundle exec rake db:create db:migrate
- Run
RAILS_ENV=development bundle exec raketo run the build - Run
RAILS_ENV=development bundle exec rake coverage:allto generate coverage reports - Run
bundle exec rails sto run the server.
All tasks reside in lib/tasks