open-energy-view icon indicating copy to clipboard operation
open-energy-view copied to clipboard

[WIP] Still erroring out, but I am a bit stuck

Open ianwinsemius opened this issue 2 years ago • 4 comments

If you'd like to run this and see if you recognize the errors, I think I'm getting close, but also think that the fact that celery workers are going to run in the background will cause them to be ignored, and for the container to exit.

ianwinsemius avatar Mar 04 '22 21:03 ianwinsemius

So cool! I will check this out tomorrow.

JPHutchins avatar Mar 05 '22 05:03 JPHutchins

This is awesome, it builds my 30+ minute instructions in a few minutes! Commenting the diff with some fixes and workarounds

JPHutchins avatar Mar 05 '22 20:03 JPHutchins

With this the uwsgi server runs and I am able to go to Docker Desktop and click view in browser. I tried with ports 5000 and 5001, I think either is OK.

Unless docker is way more magic than I understand, I would think that the run-io-work and run-cpu-worker need there own service since the run-wsgi-dev script should never exit.

I was feeling spicy so I changed the init.sh to:

./run-wsgi-dev &
./run-io-worker &
./run-cpu-worker

Which ends up revealing some weird celery errors.

JPHutchins avatar Mar 05 '22 20:03 JPHutchins

The script test-gui should run the flask development server.

JPHutchins avatar Mar 05 '22 20:03 JPHutchins