- Ruby 2.6.3
- Rails 5.2.3
- Postgresql 9.4.4
$ git clone [email protected]:5xruby/daikichi.git
$ cd daikichi
# generate key with rake secret
$ cp config/secrets.yml.sample config/secrets.yml
$ cp config/application.yml.sample config/application.yml
$ cp config/database.yml.sample config/database.yml
$ bundle install
$ bundle exec rake db:create
$ bundle exec rake db:migrate
- Create an
Client
in Keycloak - Set
Access Type
toCofidential
to prevent public access - Copy
token
fromCredentials
tab assecret_key
# install pow
$ curl get.pow.cx | sh
# http://daikichi.dev
$ gem install powder
$ powder link
# export BYEBUGPORT={port}
$ cp .powenv.sample .powenv
$ bundle exec byebug -R localhost:{port}
# lib/tasks/users.csv
$ rake import_data:users
$ rake leave_time:init
$ rake holiday:build
# config/locales/meta_data.[locale].yml
misc:
app_title: "your app title"
company_name: "your company name"
$ gem install rubocop
$ rubocop