Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading of default libraries into the backend while building the project and loading of circuits from gallery fixed #259

Merged
merged 7 commits into from
Jun 5, 2021

Conversation

kumanik
Copy link
Contributor

@kumanik kumanik commented May 31, 2021

Fixes Issue #252 by adding default libraries while building container or separately running migrations.sh
Fixes Issue #258 by routing svg loading to the default libraries
Also added creation of default superuser (required for adding default libraries).

@pep8speaks
Copy link

pep8speaks commented May 31, 2021

Hello @kumanik5661! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2021-06-03 07:09:37 UTC

@kumanik kumanik force-pushed the default-libs branch 2 times, most recently from f4219f0 to 590a67f Compare May 31, 2021 17:40
@kumanik
Copy link
Contributor Author

kumanik commented May 31, 2021

running migrations.sh file should fix the problems with loading from gallery

@kumanik kumanik marked this pull request as draft June 1, 2021 08:52
@kumanik kumanik force-pushed the default-libs branch 2 times, most recently from 8531aef to b78227e Compare June 1, 2021 10:12
@kumanik kumanik marked this pull request as ready for review June 1, 2021 11:11
@kumanik kumanik marked this pull request as draft June 2, 2021 14:44
@kumanik
Copy link
Contributor Author

kumanik commented Jun 2, 2021

Before running migrations.sh run for the django container:

docker exec -it esim_django_1 python manage.py migrate libAPI zero
docker exec -it esim_django_1 python manage.py migrate libAPI 

This resets the database tables for libAPI to clear all the data
Replace esim_django_1 with the django container name

Get container name by:

docker ps | grep 'django' 

@kumanik kumanik marked this pull request as ready for review June 2, 2021 18:11
@firuza firuza merged commit f70a162 into frg-fossee:develop Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants