8000 GitHub - saveasguy/hairstyler
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

saveasguy/hairstyler

Repository files navigation

Hairstyle Recommendation App 2023.11

About

Hairstyle Recommendation App is a separate service which takes image of client, applies pipeline of recommandation algorithms and returns recommendation scores for each hairstyle.

Installation

Local

Minikube (recommended)

Running

Local

  • To run dev-server application execute the following command: flask --app hairstyler run --cert=certificates/cert.pem --key=certificates/key.pem --host=0.0.0.0.
  • To run unit tests execute: python3 -m unittest discover -v.
  • Check how API works by playing around with https://127.0.0.1:5000/docs in your browser.

Minikube (recommended)

  • Run Minikube: minikube start
  • Apply k8s config and start the application: kubectl apply -f ./configs/k8s.yaml
  • To run unit tests execute: kubectl exec --stdin --tty hairstyler -- python3 -m unittest discover -v
  • Check IP of Minikube by running: minikube ip.
  • Check how API works by playing around with https://<minikube-ip>:30500/docs in your browser.

Troubleshooting

  • Point minikube to docker-daemon: eval $(minikube -p minikube docker-env)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0