Sha256: 9999ac3cfc7577120f9e1895c0868a5a869df6b1416acf86a206ecb968e2f784

Contents?: true

Size: 1.47 KB

Versions: 21

Compression:

Stored size: 1.47 KB

Contents

# APP_NAME

APP_DESCRIPTION.

## Local Setting

### GitHub上でFork

```
https://github.com/USER_NAME/APP_NAME/
```

### リポジトリをローカルへ作成

```
cd ~/WORK_DIRECTORY
git clone git@github.com:YOUR_USER_NAME/APP_NAME.git
cd APP_NAME
```

### ブランチ作成

```
git checkout -b YOUR_NEW_BRANCH
```

### Twitterアプリ登録

<a href="https://dev.twitter.com/apps/new" target="_blank">Twitter Create an application</a>

```
Name: [ (アプリケーションの名前) ]
Description: [ (アプリケーションの説明) ]
WebSite: [ http://0.0.0.0:3000/ ]
Callback URL: [ http://0.0.0.0:3000/ ] ※登録しないと動かない
□ Yes, I agree <= チェック
CAPTCHA入力後「Create your Twitter application」を押下
```

### ローカル用Twitterキー設定

Create: config/settings.local.yml

```ruby
# Twitter OAuth Local Setting
twitter_key:    "YOUR_CONSUMER_KEY"
twitter_secret: "YOUR_CONSUMER_SECRET"
```

※Twitterアプリ登録完了後に表示された「Consumer key」を「YOUR_CONSUMER_KEY」に、「Consumer secret」を「YOUR_CONSUMER_SECRET」にそれぞれ入力

### Rails起動

Gemインストール

```
bundle install --without production
```

ローカルDB作成

```
rake db:migrate
```

ローカルサーバ起動

```
bundle exec rails s
```

ページアクセス

```
http://0.0.0.0:3000/
```

## Copyright

Copyright (c) 2012 MY_NAME. <a href="http://creativecommons.org/licenses/by-nc-sa/2.1/jp/" target="_blank">CC BY-NC-SA 2.1</a>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
omniauth-scaffold-0.1.30 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.29 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.28 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.27 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.26 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.25 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.24 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.23 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.22 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.21 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.20 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.19 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.18 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.17 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.16 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.15 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.14 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.13 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.12 lib/omniauth-scaffold/templates/README.md
omniauth-scaffold-0.1.11 lib/omniauth-scaffold/templates/README.md