Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Updating README.md. #51

Closed
wants to merge 1 commit into from

Conversation

dsuhinin
Copy link
Collaborator

No description provided.

Signed-off-by: Software Developer <7852635+dsuhinin@users.noreply.github.com>

or run:
```bash
mage configure

Choose a reason for hiding this comment

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

seems like this should be the first, not alternate, option, since so much simpler


Initially, we want to focus on supporting Postgres SQL. We chose [Gorm](https://gorm.io/) as ORM to interact with the database.

We do not generate any Go code based on the database schema. Gorm has generation capabilities but they didn't fit our needs. The plan would be to eventually assert the current code stil matches the database schema via an intergration test.

Choose a reason for hiding this comment

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

typo: stil

pip install git+https://github.com/jgiannuzzi/mlflow-go.git
```

## Mage

Choose a reason for hiding this comment

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

should this go in the Developement section? I assume not necessary for end-user installation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes and no, because a lot of actions you can do via mage so that's why I've decided to introduce firstly mage and then moving forward.

The beauty of Mage is that we can use regular Go code for our scripting.
That being said, we are not married to this tool.

## Development Setup

Choose a reason for hiding this comment

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

Things get pretty complicated at this point -- maybe move to a separate DEVELOPER.md?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you mean move and link ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, this probably should be in a CONTRIBUTING.md file.


## Installation

This package is not yet available on PyPI and currently requires the [Go SDK](https://go.dev) to be installed.

Choose a reason for hiding this comment

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

Why don't we push builds to PyPI so this is simpler?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

probably a bit later I think.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We first need to move to https://github.com/mlflow/mlflow-go and set it up over there.
Might require helps from Databricks.


### Installation

```bash
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider rearranging the content to place mage configure at the top. Start with a brief explanation of its purpose, and then use an expandable section to provide more detailed information about its functionality.

-s --log-level=debug
```

next `mage` tests targets are available:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same, mage targets first, with expandable sections detailing their actions.


This includes the generation of:

- Structs for each endpoint. ([pkg/protos](./protos/service.pb.go))
Copy link
Collaborator

Choose a reason for hiding this comment

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

These links no longer work.


## Usage

### Go server
Copy link
Collaborator

Choose a reason for hiding this comment

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

For developers it would be interesting to mention mage dev, that is how I always start the thing.

@dsuhinin dsuhinin closed this Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants