Giter Site home page Giter Site logo

movie-recommendation-system's Introduction

Movie Recommender

Untitled

Film Tavsiye Sistemi Geliştirin

Repoyu aşağıdaki adresten indirelim.

Gerekli paketleri yükleyelim

pip3 install -r requirements.txt

Model dosyalarının oluşması için aşağıdaki scripti çalıştıralım.

python data_preparation.py

Aşağıdaki adresten üye olarak API key edinebilirsiniz. Çalışmada kendi API'nizi kullanmanız gerekmekte.

https://www.themoviedb.org/settings/api

.env dosyası oluşturun ve içerisinde gerekli API kodunu girelim.

export MOVIE_API='WRITEYOURAPIKEYHERE’

Localde streamlit uygulamasını başlatma

streamlit run app.py

Heroku ile Uygulamanızı Dış Dünyaya açın

Aşağıdaki adresten Herokuya kayıt olalım.

https://heroku.com/

Yeni bir proje oluşturalım.

Untitled

Projemize bir isim verelim ve lokasyon bilgisini seçerek Create app ile devam edelim.

Untitled

Install the Heroku CLI

Heroku CLI

Heroku CLI yükleyelim.

  • Mac:

brew tap heroku/brew && brew install heroku

  • Windows

Bağlantıdan ilgili exe dosyasını indirip kurulum yapabilir.

İlgili proje dizininde terminal açarak sırasıyla aşağıdaki işlemleri yapalım.

Terminal üzerinden Heroku CLI aktif hale getirme.

heroku login

Untitled

Untitled

Heroku üzerinde yeni bir Git Reposu oluşturalım.

Proje dizinimize girerek aşağıdaki kodları çalıştıralım.

💡 Aşağıdaki `movie-recommender-miuul` sizin koyduğunuz proje adı olacak.
git init
heroku git:remote -a movie-recommender-miuul

Uygulamayı Heroku Reposuna gönderelim.

git checkout -b main
git add .
git commit -am "herokuya miuuldan selamlar"
git push heroku main

Bu işlem dosya boyutları sebebiyle uzun sürmekte.

500 MB’lık bir sınır var, bu boyutu aştığımızda hata alıyoruz.

Untitled

BINGO!

Untitled

movie-recommendation-system's People

Contributors

oguzerdo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

samedpekdemir

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.