We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/theforeman/theforeman.org/blob/9137547dd1b8deffa83508f1f6099d4c12955d95/contribute.md#setup-test-environment
Should this not rather be bundle exec bin/rake db:setup to create the database?
bundle exec bin/rake db:setup
Furthermore, this describes the creation of the test-database, which IMHO would require to append a RAILS_ENV=test to the command.
RAILS_ENV=test
The text was updated successfully, but these errors were encountered:
Even better would probably be to use bundle exec rake db:create db:migrate RAILS_ENV=test. Otherwise, it will not be correctly detected by this code in foreman: https://github.com/theforeman/foreman/blob/7b333c0082231c950e61b0dbc65375cf438e73b3/lib/foreman.rb#L23
bundle exec rake db:create db:migrate RAILS_ENV=test
Sorry, something went wrong.
No branches or pull requests
https://github.com/theforeman/theforeman.org/blob/9137547dd1b8deffa83508f1f6099d4c12955d95/contribute.md#setup-test-environment
Should this not rather be
bundle exec bin/rake db:setup
to create the database?Furthermore, this describes the creation of the test-database, which IMHO would require to append a
RAILS_ENV=test
to the command.The text was updated successfully, but these errors were encountered: