Boilerplate de Rails + Devise + Sidekiq dockerizado y basado en el template Tabler.
Además, implementa un scaffold únicamente de vistas en la carpeta lib
. Se utiliza igual que el scaffold normal de Rails y genera formularios basados en Tabler y tablas con DataTables ya implementado. Por ejemplo:
rails g tabler_scaffold Order user:references client:references name due_date
application.rb
yapplication.html.rb
: nombre de la aplicacióndatabase.yml
: configuración DBdocker-compose.yml
: nombre de la aplicación, puertos y credenciales Postgrespackage.json
: detalles de la aplicacióncable.yml
: nombre aplicaciónseeds.yml
: eliminar o editarapplication_mailer.rb
: Cambiar default fromdevelopment.rb
yproduction.rb
: ingresar datos mailerdevise.rb
: cambiar mailer from_footer.html.erb
: cambiar datos empresa
bundle exec rake secret
y reemplazar los hash ensecrets.yml
rake db:create && rake db:migrate && rake db:seed
npm install
Rails + Devise + Sidekiq dockerized boilerplate based on Tabler template.
It also implements a Tabler ready views scaffold placed on lib
folder. It's used the same way usual scaffold is used and it generates forms based on Tabler forms, including DataTable's ready tables and combo boxes with references
fields. For example:
rails g tabler_scaffold Order user:references client:references name due_date
application.rb
yapplication.html.rb
: app namedatabase.yml
: DB configurationdocker-compose.yml
: app name, ports and Postgres credentials.package.json
: app name and details.cable.yml
: app nameseeds.yml
: edit or removeapplication_mailer.rb
: set default fromdevelopment.rb
yproduction.rb
: set mailer datadevise.rb
: set mailer from_footer.html.erb
: set company or legal info
bundle exec rake secret
and replacesecrets.yml
secretsrake db:create && rake db:migrate && rake db:seed
npm install