Giter Site home page Giter Site logo

devops's Introduction

SKlearn Project

mohamedrafaat1

Project Instructuion

• SKlearn is a Machine Learning Microservice application that predict housing prices through API calls including several features, such as average rooms in a home and data about highway access, teacher-to-pupil ratios, and so on.

Project instructions: • Note: This project is provided using AWS cloud9 and Ubuntu 18 EC2 instance.

  1. Create a project working directories using mkdir command.
  2. Create python3 virtual environment using python3 -m venv /path/to/new/virtual/environment
  3. Clone project files from Github in another directory using git clone url.git through ssh or HTTPs
  4. Modifying bashrc file to create alias command for virtual environment activation using alias devops="cd /home/ubuntu/environment/devops/ && source ~/.devops/bin/activate"
  5. Copy all project files from downloaded repo to the project working directory.
  6. Activate virtual environment.
  7. Install dependencies through make install command.
  8. Linting code through make lint.
  9. Running docker script.
  10. Build docker from local image.
  11. Running make prediction script.
  12. Upload docker image to Docker Hub repo using upload_docker script.
  13. Install kubectl and minikube to run kubernetes locally.
  14. Run run_kubernetes script.
  15. Run prediction script to get result for local pod.
  16. Configuring circleci to test project code.

GitHub repo files: [email protected]:mohamedrafaat1/devops.git • Dockerfile: including required info to build docker. • Makefile: to install all requirement packages and create virtual environment • Requirements: include all required packages to be installed automatically. • Run_docker: its descriptive script to run docker. • Run_kubernetes: its descriptive script to run kubernetes. • Upload_docker: to upload local docker image to docker hub repo. • Config.yml: yaml configuration file that include all instructions to test this project through circleci website.

Docker Hub Repo: "mohamedrafaat/sklearn-img"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.