0.0
The project is in a healthy, maintained state
A Rails engine to manage application storage on Lato projects!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0
>= 7.1.1
 Project Readme

Lato Storage

Manage application storage (ActiveStorage data) on Lato projects.

NOTE: This gem is using Active Storage Dashboard as reference for the interface and the functionality. The idea is to provide a similar interface inside Lato.

Installation

Add required dependencies to your application's Gemfile:

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

Install gem and run required tasks:

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

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

Rails.application.routes.draw do
  mount LatoStorage::Engine => "/lato-storage"

  # ....
end

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

@import 'lato_storage/application';

// ....

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

import "lato_storage/application";

// ....

Development

Clone repository, install dependencies, run migrations and start:

$ git clone https://github.com/Lato-GAM/lato_storage
$ cd lato_storage
$ 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.