rapid-router icon indicating copy to clipboard operation
rapid-router copied to clipboard

Docker-ising rapid router

Open dionizh opened this issue 4 years ago • 4 comments

This is for dev and should work just like portal.

dionizh avatar Jul 07 '21 11:07 dionizh

I'll take this

mrniket avatar Jul 07 '21 11:07 mrniket

@dionizh Have you had this error recently?

django.db.utils.IntegrityError: The row in table 'common_teacher' with primary key '1' has an invalid foreign key: common_teacher.school_id contains a value '1' that does not have a corresponding value in portal_school.id.

mrniket avatar Jul 08 '21 08:07 mrniket

Yes, I think this should be the same error: https://docs.codeforlife.education/git/common-issues#django-db-utils-integrityerror-on-mac Let me know if that fixes it or not.

dionizh avatar Jul 08 '21 08:07 dionizh

Unfortunately it doesn't, the issue happens inside of the docker container so I couldn't use homebrew there. I did try: RUN apt-get install -y sqlite3 libsqlite3-dev but I still get the same error. I'll push my changes in the PR so you can see

mrniket avatar Jul 08 '21 10:07 mrniket