Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

max-reznichenko/teachme-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teachme social network

Steps to test OAuth

  • make sure rvm current is [ruby-version]@teachme-now

  • run ‘passenger-install-apache2-module’

  • passenger installation will give the configuration for apache.conf. Add it

  • create app config in /etc/apache2/sites-available/teachme.loc with the following

    <VirtualHost *:80>
      ServerName omniauth-tester.loc
      DocumentRoot /path/to/your/app/public
      RailsEnv development
      <Directory /path/to/your/app/public>
         AllowOverride all
         Options -MultiViews
      </Directory>
    </VirtualHost>

Make sure DocumentRoot and Directory points to public dir in the app

  • add /ets/hosts record with the following 127.0.0.1 omniauth-tester.loc

  • 127.0.0.1 can be 127.0.1.1 or 0.0.0.0 depending on your system configurations and running apps

  • run ‘sudo a2ensite teachme.loc’ and ‘sudo /etc/init.d/apache2 reload’

About

Social teaching network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •