Manage application users on Lato projects.
Add required dependencies to your application's Gemfile:
# Use lato as application panel
gem "lato"
gem "lato_users"Install gem and run required tasks:
$ bundle
$ rails lato_users:install:application
$ rails lato_users:install:migrations
$ rails db:migrateMount lato users routes on the config/routes.rb file:
Rails.application.routes.draw do
mount LatoUsers::Engine => "/lato-users"
# ....
endImport Lato Scss on app/assets/stylesheets/application.scss file:
@import 'lato_users/application';
// ....Import Lato Users Js on app/javascript/application.js file:
import "lato_users/application";
// ....Clone repository, install dependencies, run migrations and start:
$ git clone https://github.com/Lato-GAM/lato_users
$ cd lato_users
$ bundle
$ rails db:migrate
$ rails db:seed
$ foreman start -f Procfile.dev$ ruby ./bin/publish.rbThe gem is available as open source under the terms of the MIT License.