Connected to https://github.com/Karthik1000/Data_Engineering_2
- SSH into the Development server. Run the final_all_models file on the Ray-head container
/home/app
directory.sudo bash docker ps # returns the container details of running containers docker exec -it <container-id of ray-head> /bin/bash python3 final_all_models.py
- Results will be written to the
/DE2_10_public/results
directory, since this volume is mounted to the containers/home/app/results
directory. - Run the find_best_model on the Development server. This will push the best model to
/home/appuser/transfer
directory which is connected to the same directory in Production via git hooks. - Add, commit, connect to remote and push the changes to Production.
git add . git commit -m "new model" git remote add production appuser@<PRODUCTIONS-SERVER-IP>:/home/appuser/transfer git push production master
- The predictions from the new model can now be observed on the Dashboard by clicking the Get Predictions button.