Tool for managing Diacode's team holidays
Clone or download
Latest commit 4f1427a Dec 18, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
.ruby-gemset
.ruby-version
Dockerfile-rails
Dockerfile-webpack
Gemfile
Gemfile.lock
Guardfile
Procfile.dev
README.rdoc
Rakefile
bootstrap.sh
config.ru
docker-compose.yml
package.json
webpack.config.js

README.rdoc

Diacode's Holidays

The goal of the app is to scratch one of our personal itches as a remote team: handling our holidays.

Stack

  • Rails 4.2

  • React.js

  • Redux as Flux implementation

  • Webpack for js management

  • PostgreSQL

Installation instructions

$ git clone git@github.com:diacode/holidays.git
$ bundle install
$ npm install -g webpack
$ npm install
$ rake db:setup
$ foreman start -f Procfile.dev

Configuration

Slack notifications

If you use Slack and you want to receive notifications about vacation requests activity in a certain channel don't forget to set the SLACK_WEBHOOK_URL environment variable pointing to the webhook url.

SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/KEY

Mailers

To change the default from email address just change it here:

/config/initializers/custom_configuration.rb