Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/5xruby/daikichi
HR system
https://github.com/5xruby/daikichi
Last synced: about 1 month ago
JSON representation
HR system
- Host: GitHub
- URL: https://github.com/5xruby/daikichi
- Owner: 5xRuby
- License: apache-2.0
- Created: 2016-07-12T08:38:38.000Z (over 8 years ago)
- Default Branch: development
- Last Pushed: 2024-08-16T03:26:32.000Z (4 months ago)
- Last Synced: 2024-08-16T04:36:00.600Z (4 months ago)
- Language: Ruby
- Size: 1010 KB
- Stars: 22
- Watchers: 10
- Forks: 16
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/5xRuby/daikichi.svg?branch=development)](https://travis-ci.org/5xRuby/daikichi) [![Code Climate](https://codeclimate.com/github/5xRuby/daikichi/badges/gpa.svg)](https://codeclimate.com/github/5xRuby/daikichi) [![Test Coverage](https://codeclimate.com/github/5xRuby/daikichi/badges/coverage.svg)](https://codeclimate.com/github/5xRuby/daikichi/coverage)
# Requirements* Ruby 2.6.3
* Rails 5.2.3
* Postgresql 9.4.4# Installation
```
$ 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
```# Keycloak Configure
1. Create an `Client` in Keycloak
2. Set `Access Type` to `Cofidential` to prevent public access
3. Copy `token` from `Credentials` tab as `secret_key`# Optional
## pow + byebug
```
# 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}
```## populate user data (development)
```
# lib/tasks/users.csv
$ rake import_data:users
```## populate leave time data
```
$ rake leave_time:init
```## populate holiday data
```
$ rake holiday:build
```## customization
```
# config/locales/meta_data.[locale].yml
misc:
app_title: "your app title"
company_name: "your company name"
```## coding style
```
$ gem install rubocop
$ rubocop
```