Last active
June 8, 2020 08:47
-
-
Save IvanNardini/ad639c0b129a4a9b788c0e54adb00040 to your computer and use it in GitHub Desktop.
MLOps series #2 : Deploy a Recommendation System as Hosted Interactive Web Service on AWS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# update local packages | |
sudo apt-get update -y | |
# install dependencies | |
sudo apt-get install -y python3-pip python3-dev python3-venv | |
# create the python enviroment | |
python3 -m venv pyenv | |
# activate a virtual environment¶ | |
source ./pyenv/bin/activate | |
#install packages | |
pip install -r ./src/score_interactive_endpoint/requirements.txt | |
#run application | |
chmod +x ./run.py | |
python ./run.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment