{"repo":"solidusio/solidus_auth_devise","free":true,"listed":false,"github":"https://github.com/solidusio/solidus_auth_devise","clone":"git clone https://github.com/solidusio/solidus_auth_devise.git","description":"🔑 Devise authentication for your Solidus store.","language":"Ruby","stars":56,"topics":["solidus","ecommerce","ecommerce-platform","solidus-extensions","hacktoberfest"],"license":"BSD-3-Clause","category":"ecommerce","readme_excerpt":"Solidus Auth Devise Provides authentication services for Solidus, using the Devise gem. Usage Installation Add solidus auth devise to your Gemfile: Then, run bundle install . After that's done, you can install and run the necessary migrations, then seed the database: Default Username/Password As part of running the above installation steps, you will be asked to set an admin email/password combination. The default values are admin@example.com and test123 , respectively. Confirmable To enable Devise's Confirmable module, which will send the user an email with a link to confirm their account, you must do the following: Add this line to an initializer in your Rails project (typically config/initializers/spree.rb ): Add a Devise initializer to your Rails project (typically config/initializers/devise.rb ): Using in an existing application If you are installing Solidus inside of a host application in which you want your own permission setup, you can do this using the register ability method. First create your own CanCan Ability class following the CanCan documentation. For example: app/models/super abilities.rb Then register your class in your spree initializer: config/initializers/spree.rb Inside of your host application you can then use CanCan like you normally would. Development Testing the extension First bundle your dependencies, then run bin/rake . bin/rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by ","default_branch":null,"files":null,"tree":[],"storefront":"/r/solidusio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solidusio/solidus_auth_devise/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}