Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update developer docs to work on Fedora 40+ #10385

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ config/hooks
*.csv
.envrc
node_modules
vendor/bundle
vendor/ruby
public/webpack
.env*
Expand All @@ -55,4 +56,4 @@ npm-debug.log
.nvmrc
mkmf.log
.yardoc/
webpack/assets/javascripts/all_react_app_exports.js
webpack/assets/javascripts/all_react_app_exports.js
3 changes: 2 additions & 1 deletion developer_docs/foreman_dev_setup.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines -58 to 61
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking out loud:
Since we're considering a move to containers, should we suggest something container-based instead? Something like

podman run -e POSTGRES_USER=$USER -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=foreman -p 5432:5432 -d --name foreman-db postgres:16-alpine
sudo dnf install postgresql # For pg_dump

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Today none of this document mentions containers so I'd like to separate those changes.

....

Expand Down
Loading