8000 GitHub - jredantas/recommender · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Recommender

API for recommender system.

Installation instructions

Programs

  • Anaconda
  • Postgresql
  • Nginx

Create environment

  • conda create -n webenv python=3.6
  • source activate webenv

Library

  • conda install flask
  • conda install sqlalchemy
  • conda install psycopg2
  • conda install -c anaconda passlib

Create database (Postgresql version)

  • Run the create command on psql:

    • CREATE DATABASE db_recommender
      WITH OWNER 'postgres'
      ENCODING 'UTF8'
      LC_COLLATE = 'pt_BR.UTF-8'
      LC_CTYPE = 'pt_BR.UTF-8';
  • Run database script:

    • psql -d db_recommender -a -f schema_pg.sql

Execution instructions

Set environment variable:

  • export FLASK_APP=recommender_draft.py

Run from the application path:

  • flask run

Available methods:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0