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 dotenv-rails to Gemfile

Dombi Attilada5e3ebd6a50
diff --git a/Gemfile b/Gemfile
index d4acded79df..cd439378ef5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -273,6 +273,7 @@ group :development do
end
group :development, :test do
+ gem 'dotenv-rails'
# Require factory_bot for usage with openproject plugins testing
gem 'factory_bot', '~> 6.2.0'
# require factory_bot_rails for convenience in core development
diff --git a/Gemfile.lock b/Gemfile.lock
index f98975f5ed0..0185efd449c 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -412,6 +412,10 @@ GEM
unf (>= 0.0.5, < 1.0.0)
doorkeeper (5.5.4)
railties (>= 5)
+ dotenv (2.7.6)
+ dotenv-rails (2.7.6)
+ dotenv (= 2.7.6)
+ railties (>= 3.2)
dry-configurable (0.15.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.6)
@@ -1031,6 +1035,7 @@ DEPENDENCIES
delayed_job_active_record (~> 4.1.5)
disposable (~> 0.6.2)
doorkeeper (~> 5.5.0)
+ dotenv-rails
email_validator (~> 2.2.3)
equivalent-xml (~> 0.6)
escape_utils (~> 1.0)
diff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.md
index e8b854e7cb5..50746e8fc4d 100644
--- a/docs/development/development-environment-osx/README.md
+++ b/docs/development/development-environment-osx/README.md
@@ -167,6 +167,8 @@ test:
database: openproject_test
```
+To configure the environment variables such as the number of web server threads `OPENPROJECT_WEB_WORKERS`, copy the `.env.example` to `.env` and add the environment variables you want to configure. The variables will be automatically loaded to the application's environment.
+
## Finish the Installation of OpenProject
Install code dependencies, link plugin modules and export translation files.
diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.md
index d9484be3f6b..a3b5d220118 100644
--- a/docs/development/development-environment-ubuntu/README.md
+++ b/docs/development/development-environment-ubuntu/README.md
@@ -218,6 +218,8 @@ test:
database: openproject_test
```
+To configure the environment variables such as the number of web server threads `OPENPROJECT_WEB_WORKERS`, copy the `.env.example` to `.env` and add the environment variables you want to configure. The variables will be automatically loaded to the application's environment.
+
## Finish the Installation of OpenProject
Install code dependencies, link plugin modules and export translation files.
diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.md
index cf52c826832..5de9d2cb63a 100644
--- a/docs/installation-and-operations/installation/manual/README.md
+++ b/docs/installation-and-operations/installation/manual/README.md
@@ -219,6 +219,7 @@ file are sensitive to whitespace. It is pretty easy to write
invalid `yml` files without seeing the error. Validating those files
prevents you from such errors.
+To configure the environment variables such as the number of web server threads `OPENPROJECT_WEB_WORKERS`, copy the `.env.example` to `.env` and add the environment variables you want to configure. The variables will be automatically loaded to the application's environment.
## Finish the installation of OpenProject