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

README needs clarification about db connection config #127

Open
Natkeeran opened this issue Feb 6, 2024 · 1 comment
Open

README needs clarification about db connection config #127

Natkeeran opened this issue Feb 6, 2024 · 1 comment

Comments

@Natkeeran
Copy link
Contributor

In the README-> Usage -> 3rd step, it is not clear where we should have configured the database connection info. Should it be specified in the https://github.com/Islandora-Devops/islandora-starter-site/blob/main/assets/patches/default_settings.txt ?

In the Known issues section, it seems the db info gets passed as a parameter.

Please clarify how/where to specify the db connection info when manually installing this site.

@Natkeeran Natkeeran changed the title README clarification README needs clarification about db connection config Feb 6, 2024
@rosiel
Copy link
Contributor

rosiel commented Feb 6, 2024

I agree.

From the looks of ISLE-DC, there's a step right before the drush site-install where the settings.php file is updated.

https://github.com/Islandora-Devops/isle-dc/blob/development/Makefile#L562-L565
https://github.com/Islandora-Devops/isle-buildkit/blob/main/drupal/rootfs/etc/islandora/utilities.sh#L384-L406

The starter site was designed to be in version control so it is probably the wrong place to store passwords like this. Rather, whatever script you use to install your system should provision those values. Also they will depend on your instance and the starter site is designed to be installable on any infrastructure. So I wouldn't store them in default_settings.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants