Giter VIP home page Giter VIP logo

rails-tabler-boilerplate's Introduction

ResIT Rails + Devise + Sidekiq Boilerplate

Español

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

Archivos que modificar:

  • application.rb y application.html.rb: nombre de la aplicación
  • database.yml: configuración DB
  • docker-compose.yml: nombre de la aplicación, puertos y credenciales Postgres
  • package.json: detalles de la aplicación
  • cable.yml: nombre aplicación
  • seeds.yml: eliminar o editar
  • application_mailer.rb: Cambiar default from
  • development.rb y production.rb: ingresar datos mailer
  • devise.rb: cambiar mailer from
  • _footer.html.erb: cambiar datos empresa

Comandos que correr

  • bundle exec rake secret y reemplazar los hash en secrets.yml
  • rake db:create && rake db:seed
  • npm install

English

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

Files which require modification:

  • application.rb y application.html.rb: app name
  • database.yml: DB configuration
  • docker-compose.yml: app name, ports and Postgres credentials.
  • package.json: app name and details.
  • cable.yml: app name
  • seeds.yml: edit or remove
  • application_mailer.rb: set default from
  • development.rb y production.rb: set mailer data
  • devise.rb: set mailer from
  • _footer.html.erb: set company or legal info

Commands

  • bundle exec rake secret and replace secrets.yml secrets
  • rake db:create && rake db:seed
  • npm install

rails-tabler-boilerplate's People

Contributors

samarti avatar victorvbello avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.