module that provides the ability to sign up using social account
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
test
vendor
.gitignore
.rspec
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

How to get Social_module up and running

The source code to Social_module is managed via Git.

Get Git

The first step is to install Git. Linux and Mac users should have no problems; Windows users might have to install Cygwin first.
For more detailed information, check out our guide for Installing Git under the Git Guides.

Clone of the official repository (git://github.com/jeyboy/social_module.git)
    git clone git://github.com/jeyboy/social_module.git


 * Social_module runs on Ruby on Rails, so first you need to get rails running. Go download rails (http://rubyonrails.org/down) and follow it's instructions to get rails running.
 * The directions in this README file assume some knowledge of rails, but I'll go through it a bit here first.
 * The first thing to do is install the ruby gems that are required. For each gem listed in the README, at the command line, do something like "gem install [gem name]" or "sudo gem install [gem name]".
 * The next thing to do is set up your database . Social_module is setup to use MySQL by default, so just follow the instructions in the README and configure the files for your computer.
 * Now setup global variable (site name and url and stuff) and change the html and css to suit your taste.
 * Start Social_module with the typical "./script/server" and point your browser to "http://localhost:3000".


Manual Setup:

 Install RVM
 https://github.com/wayneeseguin/rvm

 Install the Required Gems:
    Console:
     - sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev
     - rvm gemset create "social_module"
     - rvm use ruby@social_module
     - gem install bundler
     - cd */social_module
     - bundle install

Setup the databases:
  1. Edit config/database.yml.example to reflect the database names you would like to use.
  2. cp config/database.yml.example config/database.yml
  3. rake db:create
  4. rake db:migrate
  5. rake routes

All tests pass:
  6. rake

Setup default values:
  7. Edit config/environments/development.rb and production.rb to suit your tastes.
  8. Edit application.css to suite your tastes.

Start Social_module:
  9. ./script/server
  10. Go to the home page http://localhost:3000
  11. Go to the signup page and create an account.