Skip to content

tadyjp/rendezvous

Repository files navigation

rendezvous

Build Status Coverage Status Code Climate Dependency Status

A simple markdown-based blog & wiki system for team.

Supported versions

  • Ruby 2.2.3

How to install and use.

Install dependencies

# for PDF processing.
$ brew install imagemagick ghostscript

# for JS test
$ npm install phantomjs -g
$ phantomjs -v

Get code and install gems.

$ git clone [email protected]:tadyjp/rendezvous.git
$ cd rendezvous

$ bundle install

Get Google API Key.

Register application on https://code.google.com/apis/console, and get

  1. Access https://code.google.com/apis/console
  2. Create New Project
  3. Create Client ID ([APIs & auth] > [Credentials] > [CREATE NEW CLIENT ID])
  4. Input form
  • http://localhost:3000 in [Authorized Javascript origins]
  • http://localhost:3000/users/auth/google_oauth2/callback in [Authorized redirect URI]
  1. Get [Client ID] and [Client secret]
  2. Write your Client ID & Secret in config/settings.yml
  3. Input form -rendevous in [Project name] in Consent screen
  4. Make sure Google+ API and Gmail API enabled.

Dotenv

Fill in your environment in .env.development

$ cp .env .env.development
$ vim .env.development

Setup DB

$ (bundle exec) rake db:migrate
$ (bundle exec) rake db:seed

And have fun with your team !

Test

Before you run test, please setup test environment.

$ cp .env .env.test
$ vim .env.test

And run

$ (bundle exec) rspec

Rendezvous uses travis-ci for test.