Skip to content

Lato-org/lato_settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lato Settings

Manage application settings on Lato projects.

Installation

Add required dependencies to your application's Gemfile:

# Use lato as application panel
gem "lato"
gem "lato_settings"

Install gem and run required tasks:

$ bundle
$ rails lato_settings:install:application
$ rails lato_settings:install:migrations
$ rails db:migrate

Mount lato settings routes on the config/routes.rb file:

Rails.application.routes.draw do
  mount LatoSettings::Engine => "/lato-settings"

  # ....
end

Import Lato Scss on app/assets/stylesheets/application.scss file:

@import 'lato_settings/application';

// ....

Import Lato Settings Js on app/javascript/application.js file:

import "lato_settings/application";

// ....

Development

Clone repository, install dependencies, run migrations and start:

$ git clone https://github.com/Lato-GAM/lato_settings
$ cd lato_settings
$ 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 settings on Lato projects!

Resources

License

Stars

Watchers

Forks

Packages

No packages published