Skip to content

Commit

Permalink
Remove generate from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
npezza93 committed Sep 11, 2024
1 parent 4356db1 commit 4415859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ gem install solid_cable
Now, you need to run the installer:

```bash
$ bin/rails generate solid_cable:install
$ bin/rails solid_cable:install
```

This will create the `db/cable_schema.rb` file.
Expand Down Expand Up @@ -57,7 +57,7 @@ production:
```
> [!NOTE]
> Calling `bin/rails generate solid_cable:install` will automatically setup `config/cable.yml`, so no additional configuration is needed there (although you must make sure that you use the `cable` name in `database.yml` for this to match!). But if you want to use Solid Cable in a different environment (like staging or even development), you'll have to manually add that `connects_to` block to the respective environment in the `config/cable.yml` file. And, as always, make sure that the name you're using for the database in `config/cable.yml` matches the name you define in `config/database.yml`.
> Calling `bin/rails solid_cable:install` will automatically setup `config/cable.yml`, so no additional configuration is needed there (although you must make sure that you use the `cable` name in `database.yml` for this to match!). But if you want to use Solid Cable in a different environment (like staging or even development), you'll have to manually add that `connects_to` block to the respective environment in the `config/cable.yml` file. And, as always, make sure that the name you're using for the database in `config/cable.yml` matches the name you define in `config/database.yml`.

Then run `db:prepare` in production to ensure the database is created and the schema is loaded.

Expand Down

0 comments on commit 4415859

Please sign in to comment.