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:migrateMount lato settings routes on the config/routes.rb file:
Rails.application.routes.draw do
mount LatoSettings::Engine => "/lato-settings"
# ....
endImport 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.devPublish
$ ruby ./bin/publish.rbLicense
The gem is available as open source under the terms of the MIT License.