I design a recommendation system server using Flask for Projectube
- Clone
- Go to terminal
https://github.com/hoangcaobao/Projectube_Recommendation_System.git
- Change directory:
cd Projectube_Recommendation_System
- GraphQL DATABASE link:
export GRAPHQL=link
- REMEMBER NO SPACE BETWEEN GRAPHQL=yourlink
- Install packages:
pip install -r requirements.txt
- Run:
python3 wsgi.py
- Clone
- Go to terminal
https://github.com/hoangcaobao/Projectube_Recommendation_System.git
- Change directory:
cd Projectube_Recommendation_System
- Docker build:
docker image build -t app .
- Docker run:
docker run -e GRAPHQL=link -p 5000:5000 app