Compare commits

..

No commits in common. "master" and "v0.9.0" have entirely different histories.

6 changed files with 8 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -1,3 +1,5 @@
%p %p= link_to 'Login with Google', auth_at_provider_path(provider: :google)
= link_to auth_at_provider_path(provider: :google) do
= image_tag 'btn_google_signin_light_normal_web@2x.png', size: '50%' -#
%h2 Something more helpful later
%p= raw(ap @doc)

View File

@ -130,7 +130,7 @@ Rails.application.config.sorcery.configure do |config|
config.google.key = ENV["google_key"] config.google.key = ENV["google_key"]
config.google.secret = ENV["google_secret"] config.google.secret = ENV["google_secret"]
config.google.callback_url = ENV["google_callback"] config.google.callback_url = "http://localhost:3000/oauth/callback?provider=google"
config.google.user_info_mapping = { email: "email", first_name: "given_name", last_name: "family_name" } config.google.user_info_mapping = { email: "email", first_name: "given_name", last_name: "family_name" }
# config.vk.key = "" # config.vk.key = ""

View File

@ -1,5 +0,0 @@
git pull
rake db:migrate
rake assets:precompile
touch tmp/restart.txt

View File

@ -1,5 +1,5 @@
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
# #
# To ban all spiders from the entire site uncomment the next two lines: # To ban all spiders from the entire site uncomment the next two lines:
User-agent: * # User-agent: *
Disallow: / # Disallow: /