From a9cf6b473fac47bcb560800e7334a1b38da2c5d8 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Thu, 21 Nov 2024 20:19:15 +0100 Subject: [PATCH] Update developer docs to work on Fedora 40+ On Fedora 40 bundler installs by default to vendor/bundle and this ignores the directory. While installing it was also noticed that postgresql-server is the real server package and that the server needs to be running. For simplicity it's configured to always start on boot. --- .gitignore | 3 ++- developer_docs/foreman_dev_setup.asciidoc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a0034dcfa11..9b2bcb98b88 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ config/hooks *.csv .envrc node_modules +vendor/bundle vendor/ruby public/webpack .env* @@ -55,4 +56,4 @@ npm-debug.log .nvmrc mkmf.log .yardoc/ -webpack/assets/javascripts/all_react_app_exports.js \ No newline at end of file +webpack/assets/javascripts/all_react_app_exports.js diff --git a/developer_docs/foreman_dev_setup.asciidoc b/developer_docs/foreman_dev_setup.asciidoc index 503406fd311..ed364b727d2 100644 --- a/developer_docs/foreman_dev_setup.asciidoc +++ b/developer_docs/foreman_dev_setup.asciidoc @@ -55,8 +55,9 @@ Use the following steps to set up PostgreSQL on RPM based distributions: [source, bash] .... -sudo dnf install postgresql +sudo dnf install postgresql-server sudo postgresql-setup --initdb +sudo systemctl enable --now postgresql sudo -u postgres createuser --createdb $USER ....