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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
genrating secret can be done using `rails secret` since rails 5
Ivan Kuchincb7da8ee39b5
diff --git a/config/credentials.yml b/config/credentials.ymlindex 1e160b907bc..3a96e7eedc8 100644--- a/config/credentials.yml+++ b/config/credentials.yml@@ -33,7 +33,7 @@# Make sure the secret is at least 30 characters and all random,# no regular words or you'll be exposed to dictionary attacks.-# You can use `rake secret` to generate a secure secret key.+# You can use `rails secret` to generate a secure secret key.# Make sure the secrets in this file are kept private# if you're sharing your code publicly.diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.mdindex c9e292e1c1c..102f2e1bcc9 100644--- a/docs/installation-and-operations/installation/manual/README.md+++ b/docs/installation-and-operations/installation/manual/README.md@@ -239,11 +239,11 @@ will seed the database in the French language.### Secret token-You need to generate a secret key base for the production environment with `./bin/rake secret` and make that available through the environment variable `SECRET_KEY_BASE`.+You need to generate a secret key base for the production environment with `./bin/rails secret` and make that available through the environment variable `SECRET_KEY_BASE`.In this installation guide, we will use the local `.profile` of the OpenProject user. You may alternatively set the environment variable in `/etc/environment` or pass it to the server upon start manually in `/etc/apache2/envvars`.```shell-[openproject@host] echo "export SECRET_KEY_BASE=$(./bin/rake secret)" >> ~/.profile+[openproject@host] echo "export SECRET_KEY_BASE=$(./bin/rails secret)" >> ~/.profile[openproject@host] source ~/.profile```