Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Google Contacts Demo (omni-auth gem)

Demo uses the omni-auth gem to load google contacts.

### Required

[Setup Google API Keys](https://richonrails.com/articles/google-authentication-in-ruby-on-rails)

### Installing

```ruby
git clone [email protected]:nathantech2005/rails-omniauth.git
```

```ruby
cd rails-omniauth
```

```ruby
bundle install
```

Copy config/application.yml.example to config/application.yml

```ruby
cp config/application.yml.example config/application.yml
```

Set Keys in config/application.yml

```ruby
OMNIAUTH_PROVIDER_KEY: your_client_id
OMNIAUTH_PROVIDER_SECRET: your_secret
```

Start Server

```ruby
cd rails-omniauth
rails s
```

Go to this address in browser:

```ruby
http://localhost:3000
```

## Built With

[Ruby 2.3.1](https://www.ruby-lang.org/en/news/2016/04/26/ruby-2-3-1-released/)

[Rails 5.0](http://weblog.rubyonrails.org)

## Authors

Peter Karth

Nathan Sire

Carlos Grijalva

Arun Kumar

## License

This project is licensed under the MIT License - see the LICENSE.md file for details

Loading