From 169bcc440f92cb0684e544258d62df710fb0e510 Mon Sep 17 00:00:00 2001 From: Twinkll Sisodia Date: Wed, 31 Jan 2024 15:46:50 -0500 Subject: [PATCH 1/2] Add developer environment setup steps in README --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f5ed68 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Setting up Developer Environment + +## Creating Developer Environment +For Mac(Intel) + +### Steps + +1. Start Docker daemon, install anaconda3 + +2. Create an environment for Feast, selecting python 3.9. Activate the environment: +``` +conda create --name feast python=3.9 +conda activate feast +``` + +3. Install dependencies: +``` +pip install pip-tools +brew install mysql@8.0 (latest - mysql@8.3 version fails the dev env) +brew install xz protobuf openssl zlib +pip install cryptography -U +conda install protobuf +conda install pymssql +pip install -e ".[dev]" +make install-protoc-dependencies +make install-python-ci-dependencies PYTHON=3.9 +``` + +4. Run unit tests: +``` +make test-python +``` + + From 9839bf926bd025457e6c380d167e9889ce01ad2a Mon Sep 17 00:00:00 2001 From: Twinkll Sisodia Date: Wed, 31 Jan 2024 17:27:32 -0500 Subject: [PATCH 2/2] Modify steps in the installation process --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6f5ed68..5710e5e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ brew install xz protobuf openssl zlib pip install cryptography -U conda install protobuf conda install pymssql +git clone https://github.com/feast-dev/feast.git +cd feast pip install -e ".[dev]" make install-protoc-dependencies make install-python-ci-dependencies PYTHON=3.9