sinsniwal / PathPilot-recommendation-system

The Learning Path Recommendation System is designed to provide students with personalized course recommendations by considering factors such as enrollment data from previous terms, the student's learning profile, feedback from other students, and their schedule and commitments.
MIT License
1 stars 0 forks source link

Updated dockerfile and removed migrations #37

Closed Dhairya-Arora01 closed 10 months ago

Dhairya-Arora01 commented 10 months ago

Description

New docker image has been pushed with name dhairyarora0208/recommender-backend:milestone-4

fixes #36

Type of change

Please delete options that are not relevant.

Anything else you would like to add

Nope

sinsniwal commented 10 months ago

Docker was not working, and can't open the course in admin because the course table was not created, just running makemigrations and migrate will not work in our case.

I am not sure if we needed the migration files deleted because

Fix: either we can have those migration files and just run migrate, that can work

Or we can put these lines in the docker configuration we need to migrate in order like:

python manage.py makemigrations courseApi python manage.py migrate courseApi

python manage.py makemigrations authApi python manage.py migrate authApi

python manage.py migrate

Dhairya-Arora01 commented 10 months ago

Thanks @sinsniwal for testing it out..... I have updated the image now can you please recheck....