You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,29 +23,31 @@ To contribute to `modelstore`'s code base, we recommend taking the following jou
23
23
24
24
## 👨🏽💻 Get familiar with the code base
25
25
26
+
### Pre-requisitings
27
+
28
+
This library has been developed on Mac OS. To get started:
29
+
30
+
```bash
31
+
❯ make setup
32
+
```
33
+
34
+
Will update `brew`, install `pyenv` and other things an required by ML libraries (e.g `libomp`, required by `xgboost`).
35
+
26
36
### Setup a virtual environment
27
37
28
-
This library has been developed using [pyenv](https://github.com/pyenv/pyenv)
29
-
and [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv), using the
30
-
requirements that are in `requirements.txt` and `requirements-dev.txt`.
38
+
This library has been developed using [pyenv](https://github.com/pyenv/pyenv) and [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv), using the requirements that are in `requirements.txt` and `requirements-dev.txt`.
31
39
32
-
This project has two requirements files:
40
+
This project has two types of requirements files:
33
41
*`requirements.txt` contains any dependencies that `modelstore` users must have in order to use `modelstore`. This should be as lightweight as possible. We do not require users to install every single machine learning library - just the ones that they want to use.
34
-
*`requirements-dev.txt` contains all of the dependencies that `modelstore` developers must have. This file does contain all of the machine learning frameworks that are supported by `modelstore` - they must be installed to enable running all of the unit tests.
42
+
*`requirements-dev[X].txt` contains all of the dependencies that `modelstore` developers must have. These files contain all of the machine learning frameworks that are supported by `modelstore` - they must be installed to enable running all of the unit tests.
35
43
36
-
You can create a virtual environment using your favourite approach and
37
-
install all of those dependencies, or once you have set up `pyenv`, use this
38
-
`Makefile` command that does the rest for you:
44
+
Once you have set up `pyenv` and `pyenv-virtualenv` installed, use this `Makefile` command that does the rest for you:
39
45
40
46
```bash
41
47
❯ make install
42
48
```
43
49
44
-
Will update `brew` and install `libomp` (required by `xgboost`).
45
-
46
-
It will then create a Python virtual environment, using `pyenv-virtualenv`,
47
-
and install all of the dependencies in the requirements files. If you want
48
-
to use a different version of Python, update the [bin/_config](bin/config) file.
50
+
This will create a Python virtual environment, using `pyenv-virtualenv`, and install all of the dependencies in the requirements files. If you want to use a different version of Python, update the [bin/_config](bin/config) file.
49
51
50
52
Notes:
51
53
* I've seen trouble with installing `prophet` and have sometimes had to install it manually
@@ -74,7 +76,6 @@ For details, head over to the [README.md](examples/README.md) in the `examples`
74
76
75
77
All of `modelstore`'s bugs are publicly tracked via [Github issues](https://github.com/operatorai/modelstore/issues).
76
78
77
-
78
79
## 💡 Contribute new feature ideas
79
80
80
81
There are a variety of ideas that have been listed in the repo's [discussions](https://github.com/operatorai/modelstore/discussions) section. For example:
0 commit comments