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 ....