-
Notifications
You must be signed in to change notification settings - Fork 227
Getting Started
Josh Buker edited this page Mar 6, 2017
·
2 revisions
This guide is currently in the middle of being written, in the interim please use the other wiki examples.
If you're installing Sorcery on an existing application, skip ahead to step 2.
- Run the rails new command:
rails new ~/sorcery-tutorial-app
(path given as example, use whatever is convenient) - cd into your application:
cd ~/sorcery-tutorial-app
- Initialize git and make the initial commit:
git init
git add -A
git commit -m "Initial Commit"
- Add sorcery to the Gemfile:
# ./sorcery-tutorial-app/Gemfile
gem 'sorcery'
- Run
bundle
to install sorcery - Run
rails g sorcery:install
to install sorcery without any submodules enabled. - Run
rake db:migrate
to update the database schema with our new user model.
Meta
Using Sorcery
- Activity Logging
- Brute Force Protection
- DataMapper Support
- DelayedJob Integration
- Distinguish login failure reasons
- External
- External---Microsoft-Graph-authentication
- Fetching Currently Active Users
- HTTP Basic Auth
- Integration Testing
- OAuth Landing Page
- Password-less Activation
- Remember Me
- Reset Password
- Routes Constraints
- Session Timeout
- Simple Password Authentication
- Single Table Inheritance Support
- Testing Rails
- User Activation
Contributing to Sorcery