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:
- Clone the Repository
- Rename the Origin Remote
- Add Your Repository
- Rename the Application
- Look for “DaisyOnRails” and “daisy_on_rails” and replace with your app name (e.g., Myapp).
- Initial Setup
- Run
bin/setupto install Ruby and JavaScript dependencies and set up your database.
- Run
- Running the Application
- Use the
bin/devscript to run the application.
- Use the
- 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.