Ricc Puffin Tours

Also Kate asked me to do this:

  • Posts
  • Active Storage for images
  • star rating

How to develop

For auto-reload to work, do this:

  • rake assets:precompile && rails s
  • yarn build:css --watch

See for more : https://dev.to/a_chris/rails-live-reloading-assets-1k9e

🚀 Rails + Ralix + Tailwind

Starter Kit to build modern Rails applications fast

Powered by:

Rails v7 application template ready to start building your next project, with a pre-configured modern front-end stack and some extras:

  • 🎨 Minimalistic and responsive, clean layout
  • 📦 Icons pack, via Heroicons
  • 🔐 Authentication, via Devise + OmniAuth for Social Logins
  • 👥 Authorization, via CanCanCan
  • 🔍 Searching, via Ransack
  • 📝 Rich text edition, via Trix
  • 🔢 Pagination, via Pagy
  • 📄 Static pages controller (About, Terms, ...)
  • 🔴 Custom errors pages: 404, 422, 500
  • 📚 Ready-to-use components: Tables, Buttons, Forms, Cards, Modals and Tooltips

Install

Clone this repository (or use the GitHub template button), then cd into the folder and run:

> bin/setup

Riccardo installation

This is a personal memo to my installation since its being ACTUIVELY DEVELOPED :)

Run

Start the development server:

> bin/dev

INSTALL

# Acts as Votable
bundle install
rails generate acts_as_votable:migration
# add '[6.0]' to migration (gem is OLD!)
rake db:migrate

# error, should have been article_id, not post_id, too much cut/paste :)
rails g scaffold comment body:text post_id:integer parent_id:integer vote:integer internal_notes:text  active:boolean