Skip to content

Instantly share code, notes, and snippets.

@IvanNardini
Last active June 8, 2020 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IvanNardini/ad639c0b129a4a9b788c0e54adb00040 to your computer and use it in GitHub Desktop.
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
# 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