Skip to content

Commit 4ace51c

Browse files
jmarsh24rosa
authored andcommitted
Update README.md
There is a generator provided by the library but it's missing from the documentation. I have added the installation generator to the readme file.
1 parent 09d9cfd commit 4ace51c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,24 @@ Or install it yourself as:
4141
$ gem install solid_queue
4242
```
4343

44-
Add the migration to your app and run it:
44+
Install Migrations and Set Up Active Job Adapter
45+
Now, you need to install the necessary migrations and configure the Active Job's adapter. Run the following commands:
46+
```bash
47+
$ bin/rails generate solid_queue:install
4548
```
49+
50+
or add the only the migration to your app and run it:
51+
```bash
4652
$ bin/rails solid_queue:install:migrations
53+
```
54+
55+
Run the Migrations (required after either of the above steps):
56+
```bash
4757
$ bin/rails db:migrate
4858
```
4959

5060
With this, you'll be ready to enqueue jobs using Solid Queue, but you need to start Solid Queue's supervisor to run them.
51-
```
61+
```bash
5262
$ bundle exec rake solid_queue:start
5363
```
5464

0 commit comments

Comments
 (0)