grapheo12 / iqps

Web-app meant for qp.metakgp.org
MIT License
20 stars 21 forks source link

ui_imrovement #35

Closed MayankGeek closed 3 years ago

grapheo12 commented 3 years ago

In iqps/conf/app.env change mode to dev.

grapheo12 commented 3 years ago

Then restart the application

MayankGeek commented 3 years ago

Nope, It's not working.

grapheo12 commented 3 years ago

Then do this: Stop the application. Run docker-compose run python manage.py collectstatic Then restart the application.

MayankGeek commented 3 years ago

mayank@mayank-80u6:~/iqps/iqps$ docker-compose run python manage.py collectstatic ERROR: No such service: python

MayankGeek commented 3 years ago

Tried with Sudo and changing python to python3 it shows the same error

grapheo12 commented 3 years ago

Sorry! docker-compose run web python manage.py collectstatic My bad!

MayankGeek commented 3 years ago

It worked but I need to run the command every time I am making a change to the CSS.

grapheo12 commented 3 years ago

Yeah that you have to do sadly. Or, in place of docker-compose up, you can run docker-compose run web python manage.py runserver 0.0.0.0:80 to see instant changes on reload.

grapheo12 commented 3 years ago

@MayankGeek Please provide screenshots of the changes.

MayankGeek commented 3 years ago

sudo docker-compose up is not working waited for 5 minutes and it was just hanging. No output at all.

grapheo12 commented 3 years ago

Make sure another instance of the app is not running. Otherwise, I can't really say anything.

MayankGeek commented 3 years ago

I am again installing the project locally but getting this error Step 4/4 : COPY ./bitap.so /usr/lib/mysql/plugin/bitap.so ERROR: Service 'db' failed to build : COPY failed: stat /var/lib/docker/tmp/docker-builder544391725/bitap.so: no such file or directory Please help

grapheo12 commented 3 years ago

@MayankGeek Please run make inside the mariadb-udf-docker folder. Get back to me if you have any problems.

grapheo12 commented 3 years ago

This can be closed now safely I believe.