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

Enhanced installation guide #306

Merged
merged 3 commits into from
Jan 7, 2024

Conversation

manish0kuniyal
Copy link
Contributor

Fixes : #144

Previously, the installation guide lacked clear instructions for installing PostgreSQL, which is a prerequisite for the project setup.

image

The installation guide has been revised to explicitly include instructions for the prerequisite, addressing the requirements.

image

@manish0kuniyal manish0kuniyal requested review from a team as code owners January 1, 2024 18:23
Copy link
Contributor

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

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

I think we could also point to these docs and give a 1-2 sentence summary on what each does

Copy link
Contributor Author

@manish0kuniyal manish0kuniyal left a comment

Choose a reason for hiding this comment

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

Great idea !!
Setup process of vrs-python on Mac here
Setup PostgreSQL database for the UTA (Unified Transcriptome Annotation) application from here
Something like that ?

@korikuzma
Copy link
Contributor

Great idea !! Setup process of vrs-python on Mac here Setup PostgreSQL database for the UTA (Unified Transcriptome Annotation) application from here Something like that ?

Ya, the m1_mac_setup.md is prereq for getting UTA to run and the uta_installation.md is creating the roles and loading the data

@manish0kuniyal
Copy link
Contributor Author

I've added the following description.

image

README.md Outdated
@@ -93,6 +93,11 @@ location.
# Installation

## Installing with pip
Check out the Mac setup guide for vrs-python [here](https://github.com/ga4gh/vrs-python/blob/main/docs/setup_help/m1_mac_setup.md). This is a crucial step before diving into UTA. Once you've completed the setup, proceed with configuring the PostgreSQL database for the Unified Transcriptome Annotation (UTA) application [here](https://github.com/ga4gh/vrs-python/blob/main/docs/setup_help/uta_installation.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm sorry. I messed up here. I forgot that VRS-Python uses docker containers to run. We should note that this is only for local install of UTA, which stands for Universal Transcript Archive

README.md Outdated
@@ -93,6 +93,11 @@ location.
# Installation

## Installing with pip
Check out the Mac setup guide for vrs-python [here](https://github.com/ga4gh/vrs-python/blob/main/docs/setup_help/m1_mac_setup.md). This is a crucial step before diving into UTA. Once you've completed the setup, proceed with configuring the PostgreSQL database for the Unified Transcriptome Annotation (UTA) application [here](https://github.com/ga4gh/vrs-python/blob/main/docs/setup_help/uta_installation.md).

Before installing the `ga4gh.vrs[extras]` package, ensure that **PostgreSQL** is installed on your system. You can download and install PostgreSQL from [here](https://www.postgresql.org/download/).
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also include installation via homebrew?

Not sure which version we want to maintain:

brew formulae | grep postgresql@

Copy link
Contributor Author

@manish0kuniyal manish0kuniyal Jan 2, 2024

Choose a reason for hiding this comment

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

I guess the m1_mac_setup.md has the brew instructions
I don't see this instruction there:

brew formulae | grep postgresql@

It's still not clear to me how to address the installation instructions of UTA based on the provided info because while running containers there is a uta container running , also the official guide (of UTA) has the information about the docker container as well as the local setup.

Copy link
Contributor

@korikuzma korikuzma Jan 2, 2024

Choose a reason for hiding this comment

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

Right the command was just listing possible versions. I am not sure which ones out of these we should maintain. But I think homebrew could be given as another option in the repo readme.

We can ignore my other comment about the other docs and address in a separate issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So how should we proceed with homebrew and should we keep the dedicated uta instruction or just link it to the official uta guide ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's stick with your original commit (sorry) and we can make a new issues (if they do not already exist):

  • Add information on which versions are supported / option to install via homebrew
  • Reference setup help docs in readme

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem I'll make the changes soon.

Thanks and Happy New Year 🎉💯

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If any additional information is required or any omissions are necessary, please feel free to let me know .

@manish0kuniyal
Copy link
Contributor Author

Added additional details for Homebrew installation and linked the documentation.
image

There is a Minor formatting error which has also been addressed in this commit.
image

Copy link
Contributor

@larrybabb larrybabb left a comment

Choose a reason for hiding this comment

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

This looks great. Thank you. @korikuzma this seems to satisfy your last change request. I'm going to approve and merge. Let me know if you have any issues, if so, I'll back out the changes or we can start a new issue to reconcile.

@larrybabb larrybabb merged commit fd759f9 into ga4gh:main Jan 7, 2024
4 checks passed
korikuzma pushed a commit that referenced this pull request Jan 9, 2024
* Enhanced installation guide

* Added MacSetup and Postgres for UTA.

* Added Homebrew installation guide and referenced documentation
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

Successfully merging this pull request may close these issues.

Dev installation instructions need clarification
3 participants