Quickly generate a rails app with Tailwind css library and the gem devise. Thanks to Le Wagon : https://github.com/lewagon/rails-templates (same template with bootstrap )
Get a minimal rails app ready to be deployed on Heroku with Tailwind, Simple form and debugging gems.
$ rails new \
--database postgresql \
--webpack \
-m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/minimal.rb \
CHANGE_THIS_TO_YOUR_RAILS_APP_NAME
$ rails new \
--database postgresql \
--webpack \
-m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/minimal_rspec_factory_bot.rb \
CHANGE_THIS_TO_YOUR_RAILS_APP_NAME
Same as minimal plus a Devise install with a generated User model.
$ rails new \
--database postgresql \
--webpack \
-m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/devise.rb \
CHANGE_THIS_TO_YOUR_RAILS_APP_NAME
it generate a spec directly for the user model
$ rails new \
--database postgresql \
--webpack \
-m https://raw.githubusercontent.com/lioruby/rails-tailwind-template/master/devise_rspec_factory_bot.rb \
CHANGE_THIS_TO_YOUR_RAILS_APP_NAME