Skip to content

DanTcheche/sitraved

Repository files navigation

Sitraved

Recommendation system

Setup

Build project:

Try next commands with sudo if you get permission errors.

  • docker-compose build.
  • docker-compose up -d.
  • Server will run in port 8080.

Requirements

This projects requires python 3.10. Python 3 can be installed with pyenv.

  1. Use pyenv-installer for installing pyenv
  2. See which python versions are available: pyenv install --list
  3. Install python 3. Example: pyenv install 3.10.5 (3.10.0 or higher)
  4. pyenv shell 3.10.5
  5. poetry shell

Install new dependencies

This project uses poetry. as a dependency manager.

  • poetry shell.
  • poetry add {dependency_name}.

Create new apps

  1. Create a folder in sitraved/apps/ with the app name.
  2. Run python manage.py startapp {app_name} sitraved/apps/{folder_name}.
  3. Add the app to you LOCAL_APPS in the base.py.
  4. Add the apps urls in settings/urls.py.

Heroku deployment

  1. git push heroku master
  2. Run scripts: heroku run python manage.py shell < scripts/myscript.py
  3. Kill dyno: heroku ps heroku ps:stop run.4859

About

Movie recommendation system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published