Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add instructions to run Delayed Job manually

Christophe Bliard0d78bb909ec4
diff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.md
index c42800b20a1..72ad1d2ab67 100644
--- a/docs/development/development-environment-osx/README.md
+++ b/docs/development/development-environment-osx/README.md
@@ -234,6 +234,14 @@ should you be working on the TypeScript / Angular frontend part.
You can then access the application either through `localhost:3000` (Rails server) or through the frontend proxied `http://localhost:4200`, which will provide hot reloading for changed frontend code.
+### Delayed Job background worker
+
+```bash
+RAILS_ENV=development bin/rails jobs:work
+```
+
+This will start a Delayed::Job worker to perform asynchronous jobs like sending emails.
+
## Start Coding
diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.md
index fe94839ea56..57bfc52a91e 100644
--- a/docs/development/development-environment-ubuntu/README.md
+++ b/docs/development/development-environment-ubuntu/README.md
@@ -267,7 +267,7 @@ To run OpenProject manually, you need to run the rails server and the webpack fr
### Rails web server
```bash
-RAILS_ENV=development ./bin/rails server
+RAILS_ENV=development bin/rails server
```
This will start the development server on port `3000` by default.
@@ -285,6 +285,15 @@ should you be working on the TypeScript / Angular frontend part.
You can then access the application either through `localhost:3000` (Rails server) or through the frontend proxied `http://localhost:4200`, which will provide hot reloading for changed frontend code.
+### Delayed Job background worker
+
+```bash
+RAILS_ENV=development bin/rails jobs:work
+```
+
+This will start a Delayed::Job worker to perform asynchronous jobs like sending emails.
+
+
## Start Coding
Please have a look at [our development guidelines](../code-review-guidelines/) for tips and guides on how to start coding. We have advice on how to get your changes back into the OpenProject core as smooth as possible.