Skip to content

Lato-org/lato_users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Rails engine to manage application users on Lato projects!

Resources

License

Stars

Watchers

Forks

Packages

No packages published