Lato Users
Manage application users on Lato projects.
Installation
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:migrate
Mount lato users routes on the config/routes.rb file:
Rails.application.routes.draw do
mount LatoUsers::Engine => "/lato-users"
# ....
end
Import 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";
// ....
Development
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
Publish
$ ruby ./bin/publish.rb
License
The gem is available as open source under the terms of the MIT License.