Added lines to the Dockerfile to import content types #33
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.
Issue #32
Motivation
This PR is introducing the same fix to the dockerfile for importing content types as TripalCultivate/TripalCultivate-Phenotypes#56 did. This fix is needed since Tripal Core PR tripal/tripal#1696 was merged, and it changed the purpose of prepare and how content types were created. Note that the change in the phenotypes PR involving running trp-run-jobs was unnecessary for this module and thus has been left out of this PR.
What does this PR do?
drush cr
) to the end of the Dockerfile since I know this will help in the future once a form for the Genotypes Loader is developed. Often, a cache rebuild is needed after install to have the form appear in the listing.Testing
Manual Testing
See TripalCultivate/TripalCultivate-Phenotypes#56 for step-by-step instructions including screenshots.
Here are the specific commands I used for setting up my docker environment:
Then I logged into the site and navigated to Admin > Tripal > Page Structure and confirmed that the expected content types were there.
I was also successfully able to create an organism through Admin > Tripal > Content > Add Tripal Content