diff --git a/boston_housing/README.md b/boston_housing/README.md index bf85e30..2e982be 100644 --- a/boston_housing/README.md +++ b/boston_housing/README.md @@ -187,15 +187,11 @@ With this file we have finished the packing of the project into MLCube! Now we c ### Project setup +## Project setup + ```bash -# Create Python environment -virtualenv -p python3 ./env && source ./env/bin/activate - -# Install MLCube and MLCube docker runner from GitHub repository -# (normally, users will just run `pip install mlcube mlcube_docker`) -git clone https://github.com/mlcommons/mlcube && cd mlcube/mlcube -python setup.py bdist_wheel && pip install --force-reinstall ./dist/mlcube-* && cd .. -cd ./runners/mlcube_docker && python setup.py bdist_wheel && pip install --force-reinstall --no-deps ./dist/mlcube_docker-* && cd ../../.. +# Create Python environment and install MLCube Docker runner +virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker # Fetch the boston housing example from GitHub git clone https://github.com/mlcommons/mlcube_examples && cd ./mlcube_examples diff --git a/mnist_openfl/pytorch/README.md b/mnist_openfl/pytorch/README.md index bbdf172..b45c94b 100644 --- a/mnist_openfl/pytorch/README.md +++ b/mnist_openfl/pytorch/README.md @@ -3,14 +3,8 @@ ## Project setup ```bash -# Create Python environment -virtualenv -p python3 ./env && source ./env/bin/activate - -# Install MLCube and MLCube docker runner from GitHub repository -# (normally, users will just run `pip install mlcube mlcube_docker`) -git clone https://github.com/mlcommons/mlcube && cd mlcube/mlcube -python setup.py bdist_wheel && pip install --force-reinstall ./dist/mlcube-* && cd .. -cd ./runners/mlcube_docker && python setup.py bdist_wheel && pip install --force-reinstall --no-deps ./dist/mlcube_docker-* && cd ../../.. +# Create Python environment and install MLCube Docker runner +virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker ``` ## Clone MLCube examples and go to mnist_openfl directory diff --git a/mnist_openfl/tensorflow/README.md b/mnist_openfl/tensorflow/README.md index d758aaf..cb0fb3e 100644 --- a/mnist_openfl/tensorflow/README.md +++ b/mnist_openfl/tensorflow/README.md @@ -3,14 +3,8 @@ ## Project setup ```bash -# Create Python environment -virtualenv -p python3 ./env && source ./env/bin/activate - -# Install MLCube and MLCube docker runner from GitHub repository -# (normally, users will just run `pip install mlcube mlcube_docker`) -git clone https://github.com/mlcommons/mlcube && cd mlcube/mlcube -python setup.py bdist_wheel && pip install --force-reinstall ./dist/mlcube-* && cd .. -cd ./runners/mlcube_docker && python setup.py bdist_wheel && pip install --force-reinstall --no-deps ./dist/mlcube_docker-* && cd ../../.. +# Create Python environment and install MLCube Docker runner +virtualenv -p python3 ./env && source ./env/bin/activate && pip install mlcube-docker ``` ## Clone MLCube examples and go to mnist_openfl directory