Skip to content

Commit

Permalink
[ci skip]Add Kajaeru's usage on production
Browse files Browse the repository at this point in the history
  • Loading branch information
ta1kt0me committed Mar 27, 2016
1 parent 3d69d1a commit 2afaa1b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,43 @@ Kajaeru is a web-based voting application to elect Ruby Kaja. ( "eru(選る)" is

About Ruby Kaja, see the [web page](http://kaja.rubyist.net/) for more information.

## Usage

Kajaeru runs on heroku.

```
# clone this repository
git clone [email protected]:yochiyochirb/kajaeru.git
cd kajaeru
# create heroku app for kajaeru
heroku create
git push heroku master
# run migration
heroku run rake db:migrate
# set environment variable
heroku config:set GITHUB_CLIENT_ID=XXXXX
heroku config:set GITHUB_CLIENT_SECRET=XXXXX
# open browser
heroku open
```

Before using Kajaeru you need to register Kajaeru, that is an OAuth application, in [GitHub Account Settings Menu](https://github.com/settings/developers).

At the "Register a new OAuth application" window, type the texts below:

- Application name
- Kajaeru (or other name you can recognize)
- Homepage URL
- URL of your application
- Description
- A voting application for Ruby Kaja
- Authorization callback URL
- #{your_applicaton_url}/auth/github/callback

## Development

### Setup
Expand Down

0 comments on commit 2afaa1b

Please sign in to comment.