ruby -v-> 3+
rails -v-> 7+
rails new app_name -d postgresql -Tcd app_name./bin/bundle add cssbundling-rails./bin/importmap pin bootstrap --from jsdelivr./bin/rails css:install:bootstrapbundle add faker --group "development""scripts": {
"build:css": "sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules"
}touch app/assets/stylesheets/customized_bootstrap.scssecho "@import 'customized_bootstrap';" | cat - app/assets/stylesheets/application.bootstrap.scss | tee app/assets/stylesheets/application.bootstrap.scss./bin/rails g controller home index./bin/rails db:drop db:create db:migrate db:seed./bin/dev
Add tooltip, popover, toast support
2.1) Toast Stimulus controllers (not necessary - for separate action only)
app/javascript/controllers/toast_controller.js
2.2) Modal Stimulus controllers (not necessary - for separate action only)