Enable docker setup to install database example data#2126
Open
pli888 wants to merge 10 commits into
Open
Conversation
This provides documentation for installing Gibbon using Docker.
The script will create config.php, create mysql database with gibbon schema and import demo data into it.
It's convention for Compose files to be named compose.yaml now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for issue: #2118 Deploy local docker gibbon instance with demo data installed
Description
This pull request contains the following new functionalities:
setup_devdb.shbash script which is able to:config.phpgibbon_demo.sqlops/README.mdops/INSTALL_DATA.mdHow to test?
How has functionality been implemented?
A new config container has been added into
compose.yamlto generateconfig.phpusing credentials from.env.A second bash script
setup_devdb.shis executed to install demo data. Might want to incorporate functionality intoup.shin the future though.Docker compose files have been renamed as
compose.yamlaccording to latest Docker conventionsPort mapping for db container to host has been added into
compose.yaml. This allows database tooling to connect with the mysql database from the host which is useful for development and debugging.