Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

timecard/timecard-rails

Repository files navigation

Stories in Ready Code Climate Build Status Coverage Status

Timecard

Timecardとはクリエイターが好きな時に好きなだけ働ける環境をサポートする仕組みです。

Feature

  • プロジェクト機能
  • Github Issueとの同期
  • Issue単位の作業時間の記録

Setup

$ git clone git@github.com:timecard/timecard-rails.git
$ cd timecard-rails/
$ bundle install
$ cp config/database.yml.sample config/database.yml
$ rake db:setup
$ rake assets:precompile RAILS_ENV=production
$ vi config/settings/production.yml # setup Client ID and Client Secret of GitHub and Ruffnote
  (callback URL is project root ex: http:/yoursite.example.com/)
  https://github.com/settings/applications, https://ruffnote.com/oauth/applications
  https://github.com/railsconfig/rails_config

Setup with Heroku

Use heroku button

Deploy

or

Command Line

$ git clone git@github.com:timecard/timecard-rails.git
$ cd timecard-rails/
$ heroku create (APP_NAME)
$ heroku addons:add heroku-postgresql
$ heroku config:set HEROKU=true "Settings.services.github.client_id"=CLIENT_ID "Settings.services.github.client_secret"=CLIENT_SECRET "Settings.services.ruffnote.key"=KEY "Settings.services.ruffnote.secret"=SECRET
$ git push heroku master
$ heroku run rake db:migrate
$ heroku open

Docker

$ sudo pip install -U fig

2. deploy

$ fig up -d web
$ fig run --rm web bundle exec rake db:setup

3. test

$ fig up --no-recreate test

4. shutdown

$ fig kill
$ fig rm

Dependencies

  • Ruby 2.1.0+

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published