Coder Social home page Coder Social logo

guilhermekodama / closetinn Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 163.38 MB

machine learning recommendation system for the fashion market

License: MIT License

Dockerfile 0.03% JavaScript 22.89% HTML 45.95% Ruby 0.05% CSS 0.17% Jupyter Notebook 23.81% Python 5.82% Roff 1.04% Shell 0.25%

closetinn's Introduction

Closetinn

Vision: Pessoas tem interese em um serviço que facilite encontrar roupas baseadas no seu perfil.

Problem: As pessoas não encontram roupas que se encaixem nas suas preferências.

Local Development

run containers

# only need this first time or if you changed something in the code
docker-compose build

# run all services
docker-compose up

# stop all services
docker-compose down

restore mongodb container

./scripts/restore-db.sh -d /Users/guilherme/dump -c closetinn-mainapi_mongodb_1_d97ec06c24e8 -n closetinn-mainapi_default

Kubernetes

gcloud container clusters \
    get-credentials cluster-1 \
    --zone southamerica-east1-a

kubectl get nodes

How to run

# on project root
scrapy crawl dafiti
scrapy crawl farfetch
scrapy crawl kanui
scrapy crawl passarela

Deploy

Our scrapper runs on ScrapyHub a platform created by Scrapy team that allows us to deploy our spiders and monitor with a handy dashboard.

Config host

add this to your /etc/hosts

127.0.0.1       local.closetinn.com.br

Elastic Search

docker pull docker.elastic.co/elasticsearch/elasticsearch:6.3.1
// run on development mode
docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.3.1

Connect mongodb prod

mongo "mongodb://cluster0-shard-00-00-svs1p.mongodb.net:27017,cluster0-shard-00-01-svs1p.mongodb.net:27017,cluster0-shard-00-02-svs1p.mongodb.net:27017/test?replicaSet=Cluster0-shard-0" --ssl --authenticationDatabase admin --username gkodama --password

closetinn's People

Contributors

guilhermekodama avatar

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.