-
Status of last Travis CI build:
-
Status of all columns Waffle Badge:
Table of contents
Khub-Khao Recommender is a web application which will be a food recommender that based on criteria specified by the user. The intended users are everyone that can’t decided what to eat. The main features are get criteria specified by the user then analyze and show foods in the category based on the requirement, show rating of foods from our server and users able to rate foods if they want.
Team members | GitHub | Role(s) |
---|---|---|
Vichakorn Yotboonrueang | Newaz2542 | Team Leader, Developer |
Kunyaruk Katebunlu | NokKbl | Developer |
Kornphon Noiprasert | Driveiei | Developer |
- Iteration plan: Iteration plan and details
- Task board: Task board on Waffle
- Issue tracking: GitHub issue tracker
- Others: Our GitHub Wiki
1. Install Python and virtualenv.
-
Python (v.3.6.6 or newer)
- The official download site: https://www.python.org/downloads/
-
Virtual Environment
$ pip install virtualenv
For more information: https://virtualenv.pypa.io/en/latest/
2. Install project and configuration.
- Open Terminal and clone the project from KhubKhao-Recommender.
$ git clone https://github.com/NokKbl/khubkhao-recommender.git
- Change your current working directory into
khubkhao-recommender
folder and create a new virtual environment.$ cd khubkhao-recommender $ virtualenv env
- Activate the virtual environment.
# For MacOS and Linux $ source ./env/bin/activate # For Windows $ .\env\Scripts\activate
- Install all required software in
requirements.txt
file.(env)$ pip install -r requirements.txt
- Change a file name
.env.example
into.env
.
Run the following commands to make migrations, apply migrate, add seed data and run server.
- Make migrations.
(env)$ python manage.py makemigrations
- Apply the migrations.
(env)$ python manage.py migrate
- Add seed data to database.
(env)$ python manage.py loaddata seed.json
- Run server at localhost:8000.
(env)$ python manage.py runserver
Social account for Tester (include Facebook, Twitter and Google Plus)
- Email: [email protected]
- Password: XXXXXXXXXXXXXX
If you want to login into admin site at localhost:8000/admin, you can do it by create superuser.
(env)$ python manage.py createsuperuser
When done, exit virtualenv.
(env)$ deactivate