File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,24 @@ Or install it yourself as:
41
41
$ gem install solid_queue
42
42
```
43
43
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
45
48
```
49
+
50
+ or add the only the migration to your app and run it:
51
+ ``` bash
46
52
$ bin/rails solid_queue:install:migrations
53
+ ```
54
+
55
+ Run the Migrations (required after either of the above steps):
56
+ ``` bash
47
57
$ bin/rails db:migrate
48
58
```
49
59
50
60
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
52
62
$ bundle exec rake solid_queue:start
53
63
```
54
64
You can’t perform that action at this time.
0 commit comments