-
Notifications
You must be signed in to change notification settings - Fork 230
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 initgit add -Agit commit -m "Initial Commit"
- Add sorcery to the Gemfile:
# ./sorcery-tutorial-app/Gemfile
gem 'sorcery'- Run
bundleto install sorcery - Run
rails g sorcery:installto install sorcery without any submodules enabled. - Run
rake db:migrateto 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