Skip to content

LatoTeam/lato_core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lato Core

Installation

Add the lato_core gem on your Gemfile

gem 'lato_core'

Install the gem

bundle install

Generate the initializer (Rails 5)

rails lato_core_initialize

Exec migrations

bundle exec rake db:migrate

Now you can start the server and go to the relative url /lato/core

You can access to the admin panel with these data:

  • username: lato
  • password: password

NB: You must install to work lato property lato_view

Configuration (optional)

The gem lato_core can be configured with the file /config/lato/config.yml.

The config.yml file is created with the "lato_core_initialize" command and contain a list of important settings.

Develop with Lato Core

Add a custom controller to the Lato panel

class CustomController < ApplicationController

  layout 'lato_layout'
  before_action :core_controlUser

end

Add a menu voice to the Lato panel

menu:
  products:
    name: Products
    url: "/admin/products"
    icon: arrow-right
    position: 1
    permission: 0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published