Daisy On Rails screenshot

Daisy On Rails

Author Avatar Theme by Adrienpoly
Updated: 18 Nov 2024
109 Stars

Modern Ruby on Rails template with DaisyUI

Categories

Overview

Daisy-on-Rails is a Ruby on Rails starter kit designed to quickly bootstrap new applications with a modern and efficient stack. It integrates key technologies and tools such as Rails 7.1, Hotwire, Tailwind CSS, and DaisyUI to provide a comprehensive starting point for Rails developers. The primary goal of Daisy-on-Rails is to offer a template that accelerates the process of setting up a new Rails application with a modern tech stack.

Features

  • Rails 7.1: The latest version of the Ruby on Rails framework.
  • Hotwire: Turbo 8 with morphing capabilities.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development.
  • DaisyUI: A Tailwind CSS component library for styling and theming.
  • ViewComponent: Encapsulates the rendering logic of Rails views into reusable objects.
  • Authentication: Implemented with Authentication-zero.
  • Admin Interface: Utilizing AVO for easy admin panel creation (Work in progress).
  • Propshaft: A modern replacement for Sprockets to handle assets.
  • Sitepress: Static pages and blog (Work in progress).
  • Development Tools (Standard, ERB Lint, Livereload, Github Actions, Kamal).

Installation

To use this template for your project, follow these steps:

  1. Clone the Repository
  2. Rename the Origin Remote
  3. Add Your Repository
  4. Rename the Application
    • Look for “DaisyOnRails” and “daisy_on_rails” and replace with your app name (e.g., Myapp).
  5. Initial Setup
    • Run bin/setup to install Ruby and JavaScript dependencies and set up your database.
  6. Running the Application
    • Use the bin/dev script to run the application.
  7. Merging Updates
    • To merge changes, merge from the “daisy-on-rails” remote.

Summary

Daisy-on-Rails is a Ruby on Rails starter kit that provides a comprehensive starting point for Rails developers. It integrates technologies like Rails 7.1, Hotwire, Tailwind CSS, and DaisyUI to offer a modern and efficient stack. The template includes various features and development tools to streamline the development process. By following the installation guide, users can quickly set up a new Rails application with this template. Overall, Daisy-on-Rails aims to accelerate the process of starting a new Rails application with a modern tech stack.