Skip to content

noddy09/recommendation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recommendation

Recommendation system prototype

Ready backend server

  • Install system required packages first:
sudo apt install python3-dev \
    python3-pip \
    virtualenv \
    postgresql-12 \
    libpq-dev \
    nginx
  • Create virtual enviroment and install required python packages:
virtualenv -p python3 env
activate env/bin/activate
pip install -r docs/pip_requirement.txt
  • Ready your backend:
cd backend/recommend/

# Database related
python manage.py makemigrations
python manage.py migrate

# Static file related
python manage.py collectstatic

# Create new root user for your backend's admin page login.
python manage.py createsuperuser
# Put down new root user credentials to login to admin webpages.
  • Roll your backend:
# Run your server in very basic manner:
python manange.py runserver

Ready frontend

  • Ensure you have install npm,node onto your machine and then:
cd frontend/recommend-fe/
npm install -g --save
npm start

About

Recommendation system prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published