Commit 683f4ace5db69d4249ce8d3e37a9af47ccf916d1
1 parent
c5e9babd
Exists in
staging
and in
42 other branches
Document delayed_job usage in development mode
(ActionItem1702)
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
HACKING
| ... | ... | @@ -61,3 +61,12 @@ The above command makes the server available at http://localhost:9999/ |
| 61 | 61 | |
| 62 | 62 | The sample-data data scripts creates one administrator user with login "ze" and |
| 63 | 63 | password "test". |
| 64 | + | |
| 65 | +Note that some operations, like generating image thumbnails, sending e-mails, | |
| 66 | +etc, are done in background in the context of a service independent from the | |
| 67 | +Rails application server. To have those tasks performed in a development | |
| 68 | +environment, you must run the delayed_job server like this: | |
| 69 | + | |
| 70 | + ./script/delayed_job run | |
| 71 | + | |
| 72 | +This will block your terminal. To stop the delayed_job server, hit Control-C. | ... | ... |