From d1e281a5a6d417bcec10760abe439b65ad88e3e0 Mon Sep 17 00:00:00 2001 From: Reese is on Codeberg Date: Thu, 11 Jul 2024 16:51:36 -0500 Subject: [PATCH] Remove $ from README and update install instructions --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b7855b7..ebf5584 100644 --- a/README.md +++ b/README.md @@ -4,23 +4,31 @@ ## Installation +### Gem installation + Add `htmx-rails` to your `Gemfile`: ```ruby gem 'htmx-rails' ``` -And then execute: +And then execute in your shell: - $ bundle install +``` +bundle install +``` -Or install it yourself as: +Or install it yourself by executing: - $ gem install htmx-rails +``` +gem install htmx-rails +``` -After installing the gem, run the installer: +### After installing the gem, run the installer: - $ rails g htmx:install +``` +rails g htmx:install +``` ## Usage